Created
May 11, 2015 08:02
-
-
Save iani/93e869e6bcb8cd0ddf62 to your computer and use it in GitHub Desktop.
multichannel in SuperCollider: Array argument to Out vs. Pan2, PanAz. Watchout ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SynthDef("nick",{Out.ar(0,SinOsc.ar(Rand(300,500),0,0.3))}). | |
| ServerMeter(Server.default); | |
| { Out.ar(0, WhiteNoise.ar(0.1)) }.play; | |
| { Out.ar(1, WhiteNoise.ar(0.1)) }.play; | |
| { Out.ar(0, WhiteNoise.ar(0.1).dup) }.play; | |
| a = { | pos = 0 | Out.ar([0, 1, 3, 7], Pan2.ar(WhiteNoise.ar(0.1), pos)) }.play; | |
| a.set(\pos, -1); | |
| a.set(\pos, 1); | |
| a = { | pos = 0 | Out.ar([0, 1], Pan2.ar(WhiteNoise.ar(0.1), pos)) }.play; | |
| a.set(\pos, 0); | |
| a = { | pos = 0 | Out.ar(0, Pan2.ar(WhiteNoise.ar(0.1), pos)) }.play; | |
| a = { | pos = 0 | Out.ar(0, PanAz.ar(2, WhiteNoise.ar(0.1), pos)) }.play; | |
| Server.default.options.numOutputBusChannels; | |
| Server.default.options.numOutputBusChannels = 8; | |
| Server.default.reboot; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment