Skip to content

Instantly share code, notes, and snippets.

@Sciss

Sciss/GE_Expand

Created Sep 29, 2011
Embed
What would you like to do?
Cases for determining expanded GE's numChannels
// 3x stereo out
SynthDef( \test, { Out.ar( 0, [ In.ar(0,2), In.ar(0,3) ])}).writeDefFile( "~/Desktop/".standardizePath )
// 3x stereo demand
SynthDef( \test2, { Demand.ar( Impulse.ar(1), 0, [ In.ar(0,2), In.ar(0,3) ])}).writeDefFile( "~/Desktop/".standardizePath )
// 2x 3-channel out
SynthDef( \test3, { Out.ar( 0, Demand.ar( Impulse.ar(1), 0, [ In.ar(0,2), In.ar(0,3) ]))}).writeDefFile( "~/Desktop/".standardizePath )
// 2x 3-channel out
SynthDef( \test4, { Out.ar( 0, Demand.ar( Impulse.ar(1), 0, [ SinOsc.ar([111,222]), SinOsc.ar([333,444,555]) ]))}).writeDefFile( "~/Desktop/".standardizePath )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment