[CM] snd-nogui - graph->ps in batch file?

bil at ccrma.Stanford.EDU bil at ccrma.Stanford.EDU
Wed Jun 1 10:45:35 PDT 2016


I think in the gtk script case, the gtk event
queue is not being completely drained, so
this code at least gets a squished graph:

(open-sound "oboe.snd")
(set! (show-full-duration) #t)
(set! (transform-graph?) #t)
(set! (time-graph?) #f)

(do ((i 0 (+ i 1)))
     ((or (= i 10000)
	 (= (gtk_events_pending) 0)))
   (gtk_main_iteration))

(set! (transform-graph-type) graph-as-sonogram)
(set! (fft-log-frequency) #t)
(update-transform-graph)
(graph->ps "hi.eps")

(exit)


This seems like several different bugs -- hooboy.



More information about the Cmdist mailing list