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

2016-06-01 Thread bil
Ah -- much nicer! Thanks! ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

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

2016-06-01 Thread Tito Latini
On Wed, Jun 01, 2016 at 10:45:35AM -0700, b...@ccrma.stanford.edu wrote: > 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?) #

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

2016-06-01 Thread bil
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 1) (= (gtk_

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

2016-06-01 Thread bil
Odd that it fails if the gtk version is running from a script -- I'll try to track this down. In the no-gui case, there's no graph, so (currently) there's nothing to write to the eps file. It never occurred to me to create a graph anyway! I'll look into that also. (The original Snd used ascii g

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

2016-06-01 Thread andersvi
Hi Tito. T> you have success with update-transform-graph before graph->ps Right, this works in a '--with-gui' Snd. Thanks. But it seems not to help a '--without-gui' Snd much. -anders ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-

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

2016-06-01 Thread Tito Latini
I forgot to say that I'm using snd compiled with motif. snd_motif -b prior_script.scm ; OK snd_gtk -b prior_script.scm; FAIL snd_nogui prior_script.scm ; FAIL ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman

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

2016-06-01 Thread Tito Latini
me: > bla bla bla update-transform-graph before graph->ps bla bla [...] show-full-duration #t is also useful ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

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

2016-06-01 Thread Tito Latini
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 th

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

2016-06-01 Thread andersvi
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 alon