[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] new to sc, and a question
Hi Josh, welcome!
You do realize that sc is going to take over your brain. It's an alien plot to render electronic musicians useless to society :)
On Jan 3, 2006, at 10:10 PM, Josh wrote:
I have a MOTU traveler, but I can't seem to figure out how to
switch sc over to use it! I'm pretty sure I could switch the
default audio in/out (I'm using Mac OS X) to the traveler, but
that seems like cheating, and wouldn't allow me to use more than
2 ins and outs.
Actually, switching the default device (or the device in sound preferences) is not cheating. :)
There is also a device parameter in the server options:
myServer.options.device = /* something */
... but I've never used it and it isn't well documented (meaning, well, it isn't documented at all :).
When you boot the server, it will give you a list of "streams" available on the device. You can turn the streams on and off individually using:
// use only the first "stream" which in MOTU land is a stereo pair
myServer.options.inputStreamsEnabled = "10000";
myServer.options.outputStreamsEnabled = "10000";
... where myServer is a server object. The default is to use all the streams. The server by default hooks into the first 8 channels each of input and output. You can change that before server boot using
myServer.options.numInputBusChannels = some number;
myServer.options.numOutputBusChannels = some number;
Server.default is the currently active primary server. When you launch sc, the interpreter variable s gets assigned to the local server (Server.local).
hjh
: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman