Re: Pfxb not working with NRT recording?

[email protected] Fri, 14 May 2021 01:13:48 -0400
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <CAG+jOEqSibahZHnr=oWinLLKnEhGvwV9mRZPdwaiTBTaZqgQ5Q@mail.gmail.com>
Just ran into this same issue - searched the old emails - and I'm not
sure this has been resolved.
Any new ideas?

On Tue, Apr 26, 2016 at 1:49 PM Timothy Walters
<[email protected]> wrote:
>
> Just wondering if anyone had had a chance to look at this. I was able to
> verify that saving the score as text and playing from it works, so I
> think that the problem must be in creating the binary OSC file, which is
> done in a primitive. I will dig into that if I have to, but was hoping
> that someone who knows something about it already might have something
> to say.
>
> On 4/21/16 9:35 PM, Tim Walters wrote:
> > I'm not having any luck recording Pfxb instances in NRT mode. The post
> > window output looks reasonable, and an audio file of the correct
> > length is written, but the latter is silent.
> >
> > Something I'm doing wrong? Bug? Not supported?
> >
> > // boot synth first
> >
> > // defs and patterns
> > (
> > SynthDef(\testSynth, { |out=0, gate=1, amp=1, freq=440|
> >     var env = EnvGen.kr(Env.perc(0.05, 0.75, amp), gate: gate,
> > doneAction: 2);
> >     OffsetOut.ar(out, Pulse.ar(freq, 0.5, env).dup);
> > }).add.writeDefFile;
> >
> > SynthDef(\nullProc, { |out=0|
> >     XOut.ar(out, 1, In.ar(out, 2))
> > }).add.writeDefFile;
> >
> > p = Pbind(
> >     \instrument, \testSynth,
> >     \degree, Pseq([0, 1, 2, 3], 1)
> > );
> >
> > q = Pfxb(p, \nullProc);
> > )
> >
> > // works fine
> > p.play;
> >
> > // works fine
> > q.play;
> >
> > (
> > // works fine
> > p.asScore(5).recordNRT(
> >     PathName("~/Desktop/testP.osc").absolutePath,
> >     PathName("~/Desktop/testP.aiff").absolutePath
> > );
> > )
> >
> > (
> > // audio file is silent
> > q.asScore(5).recordNRT(
> >     PathName("~/Desktop/testQ.osc").absolutePath,
> >     PathName("~/Desktop/testQ.aiff").absolutePath
> > );
> > )
> >
> >
> > _______________________________________________
> > sc-users mailing list
> >
> > info (subscription, etc.):
> > http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> > archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> > search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/