On Wed, Jun 01, 2016 at 10:27:01AM +0200, ander...@notam02.no wrote: > Hi. > > Sparked by a question on linux-audio-users just now, i wanted to check > if i could create sonograms and similar by scripting Snd (which could be > very useful), but the .eps-file Snd leaves is empty. > > Evaluating the same list of calls step by step works fine. > > Putting in some (sleep 3) calls along the route didn't help either. > > Is this achievable? > > Here's what i'm trying: > > (open-sound "mono-10s.wav") > (set! (transform-graph?) #t) > (set! (time-graph?) #f) > (set! (transform-graph-type) graph-as-sonogram) > (set! (fft-log-frequency) #t) > (graph->ps "mono-10s-sonogram.eps") > (exit)
you have success with update-transform-graph before graph->ps (open-sound "mono-10s.wav") (set! (transform-graph?) #t) (set! (time-graph?) #f) (set! (transform-graph-type) graph-as-sonogram) (set! (fft-log-frequency) #t) (update-transform-graph) (graph->ps "mono-10s-sonogram.eps") (exit) _______________________________________________ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist