[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] record without playing



<x-tad-smaller>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= </x-tad-smaller><x-tad-smaller>Buffer</x-tad-smaller><x-tad-smaller>.alloc(s, 65536, 2);
</x-tad-smaller><x-tad-smaller>
// this will record to the disk</x-tad-smaller>
<x-tad-smaller>
</x-tad-smaller><x-tad-smaller>"help-Diskout"</x-tad-smaller><x-tad-smaller>, {</x-tad-smaller><x-tad-smaller>arg</x-tad-smaller><x-tad-smaller> bufnum;
</x-tad-smaller><x-tad-smaller>DiskOut</x-tad-smaller><x-tad-smaller>.ar(bufnum, </x-tad-smaller><x-tad-smaller>In</x-tad-smaller><x-tad-smaller>.ar(0,2));
}).send(s);


b= </x-tad-smaller><x-tad-smaller>Buffer</x-tad-smaller><x-tad-smaller>.alloc(s, 65536, 2);
</x-tad-smaller><x-tad-smaller>// create an output file for this buffer, leave it open</x-tad-smaller><x-tad-smaller>
b.write(</x-tad-smaller><x-tad-smaller>".aiff"</x-tad-smaller><x-tad-smaller>, </x-tad-smaller><x-tad-smaller>"aiff"</x-tad-smaller><x-tad-smaller>, </x-tad-smaller><x-tad-smaller>"int16"</x-tad-smaller><x-tad-smaller>, 0, 0, </x-tad-smaller><x-tad-smaller>true</x-tad-smaller><x-tad-smaller>);
</x-tad-smaller><x-tad-smaller>// create the diskout node; making sure it comes after the source</x-tad-smaller><x-tad-smaller>
d = </x-tad-smaller><x-tad-smaller>nil</x-tad-smaller><x-tad-smaller>, </x-tad-smaller><x-tad-smaller>"help-Diskout"</x-tad-smaller><x-tad-smaller>, [</x-tad-smaller><x-tad-smaller>"bufnum"</x-tad-smaller><x-tad-smaller>, b.bufnum]);
</x-tad-smaller>

------------------------------------------------------------
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.
---------------------------------------------------------------------------------------