[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Bus questions



looks like you need an update.
my version of bus.help has more information
than what you described.
do a cvs update or get the binary from sourceforge and check
that version out.

-m
On Dec 27, 2003, at 7:55 PM, v_ezra v_buchla wrote:

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.

which helpfile?

my version of Bus.help says

Bus.audio( server, numChannels );
	Allocate an audio bus on the server.
	Defaults: default server, 1 channel.

but doesn't get any more specific.

but that makes a lot of sense, thanks.

it's still a little strange, since e.g.

b = Bus.control(s, 4).index.postln

only gives the starting index.

maybe an extra line of text in the Bus.help file would make this a little
easier to figure out the first time.

	e



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



_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users