hello! btw supercollider 3 is amazing for multi channel works, i often play
4ch, and 8ch live sets with it 

if you want to test it:
aplay -l // to see which is your card number, mine is card 1
so i open alsamixer c1 
to check if levels are not set to 0 which often happen when you connect new
card, if so adjust the levels
then open your sound card in jack 
look for .sclang.sc which is hidden file in home directory
open it with gedit and look for these lines
"SC_JACK_DEFAULT_OUTPUTS".setenv(
        "system:playback_1,"
        "system:playback_2"

so if you have have 5ch card add more channels

"SC_JACK_DEFAULT_OUTPUTS".setenv(
        "system:playback_1,"
        "system:playback_2,"
        "system:playback_3,"
        "system:playback_4,"
        "system:playback_5"

save it and in gedit open edit-preferences-plugins enable Sced
now under tools menu you have supercollider mode, start it
make sure that jack is running
boot the sound server - press boot in the box below called localhost server

here's some sc code to play arround
place the cursor on the code line and press ctrl-e  to evaluate code
esc    to stop
{SinOsc.ar}.play // test sound to see if your card is working

b = Buffer.read(s, "/sounds/somesound.wav"); //load some sound file
{PlayBuf.ar(2,b)}.play // like this you can play your stereo file
{PlayBuf.ar(1,b)}.play // like this you can play your stereo file in mono
{PlayBuf.ar(1,b)!5}.play  // like this you can play  file on all 5 channels
{PlayBuf.ar(1,b,[1,0.5,1.5,2,3])}.play  // 3d argument for PlayBuf is
playback rate, [1,0.5,1.5,2,3] spreads sound to 5ch and every channel plays
at different rate

// automated 5 ch pannning
(
{var modulator={SinOsc.kr(0.5,0,1,0)},
 sound={PlayBuf.ar(1,b)};
        PanAz.ar(5,sound,modulator)}.play; // change 5 to 22 and you will have 
22
ch panner!
)

if you are interested , i can point you to some quick intro tutorials to get
started 
and show you some other "modes" how to manipulate panning "live" without
stoping and restarting code
as i said SC is amazing for spatial stuff
good luck!


--
View this message in context: 
http://puredyne.466513.n3.nabble.com/puredyne-LAC-2012-the-Linux-Audio-Conference-Call-for-Participation-tp3438639p3554195.html
Sent from the Puredyne mailing list archive at Nabble.com.
---
Puredyne@goto10.org
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne

Reply via email to