When using DiskOut, there is no requirement to read from the hardware
output bus. You should route your signal to an internal bus and grab
that signal from that bus.
hjh
On 8/26/05, Fabrice Mogini <fabrice.mogini@xxxxxxxxxx> wrote:
> Hi,
>
> I am using DiskOut and Buffer to record a patch.
> I would like now to record without having to play and monitor the audio
> patch. Eventually can I write a patch while playing a different one in
> the same time?
> I used to do that in SC2 but how do you do it in SC server?
>
> Thank you
>
> Fabrice
>
>
> b= Buffer.alloc(s, 65536, 2);
>
> // this will record to the disk
> SynthDef("help-Diskout", {arg bufnum;
> DiskOut.ar(bufnum, In.ar(0,2));
> }).send(s);
>
>
> b= Buffer.alloc(s, 65536, 2);
> // create an output file for this buffer, leave it open
> b.write("audiofiles/"++(field.value)++".aiff", "aiff", "int16", 0, 0,
> true);
> // create the diskout node; making sure it comes after the source
> d = Synth.tail(nil, "help-Diskout", ["bufnum", b.bufnum]);
>
> ------------------------------------------------------------
> Fabrice Mogini
>
> Mobile: +44 7834279698
> email: fabrice.mogini@xxxxxxxxxx
> website: http://freespace.virgin.net/fabrice.mogini/
> Address: Top floor 49 Bavaria Road,
> London N19 4EU
> U.K.
> ------------------------------------------------------------------------
> ---------------
>
>
> _______________________________________________
> sc-users mailing list
> sc-users@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
>
>
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman