[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Bus questions
On Dec 27, 2003, at 1:47 PM, v_ezra v_buchla wrote:
i'm mildly confused about the output busses as well.
in the default setup it seems that bus 0 is stereo
e.g.
output = PLayBuf.ar(2, ...
Out.ar(0, output)
sends a stereo sample to the left and right output channels, no problem.
right. your playbuf is two channels, and i believe the bus argument for out is
a starting point for signals, so if you're sending a two channel sound it'll go to
bus #zero and then bus #one- and so on depending on the amount of channels.
from the helpfile:
Note that using the Bus class to create a multichannel bus simply reserves a series of adjacent bus indices. There is nothing to stop you from outputting a channelsArray larger than that range. You are responsible for making sure that the number of channels match and that there are no conflicts.
but:
output = SinOsc.ar(440);
pan = SinOsc.ar(0.5, 0, 0.5, 0.5);
Out.ar(0, pan * output);
Out.ar(1, (1-pan)*output);
also sends to the left and right output channels.
should this be happening?
you're putting the sinewave on the first two busses,
and mulitplying it by an lfo. this code appears
to me that it should play on two channels.
if you did this:
lfo = SinOsc.kr(0.5,0,0.5,0.51);
output = Pan2.ar(SinOsc.ar(440),lfo);
Out.ar(0,output);
should do the same thing since Pan2 is a stereo (two channel) object,
and Out.ar's bus argument is set to and starts at zero.
-mike
thanks
e
.... .......
...:.......:.... .......
www.calarts.edu/~ebuchla
...:.......:.... .......
On Fri, 26 Dec 2003, travis wrote:
I'm trying to put different effects on about six different sounds (drum
sounds, sorry) , so I thought, simple, I'll just put each Synth on a
different bus, put effect after it on same bus, and then have an In.ar
Synth that reads all those busses and puts them on 0 (and 1?) , but it
seems it doesn't work this way. Stereo sounds take up two busses? Is
there a different way to do this?
xo,
travis
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users