Skip to content

Instantly share code, notes, and snippets.

@Sciss
Created September 29, 2011 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sciss/1250902 to your computer and use it in GitHub Desktop.
Save Sciss/1250902 to your computer and use it in GitHub Desktop.
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