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

Re: [sc-users] new to sc, and a question



Hey,

On 04 Jan 2006, at 04:34, James Harkins wrote:
You do realize that sc is going to take over your brain. It's an alien plot to render electronic musicians useless to society :)

lets go for some additional useless info... ;-)



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


I thought that the MOTU Traveller has the following Stream syntax (haven't mine here, so cannot test at the moment, but I'm pretty sure about this):

"MOTU Traveler" Input Device
   Streams: 5
      0  channels 8	// analog   	in 	(AudioIn.ar((1..8)))
      1  channels 2	// SPDIF(?) 	in 	(AudioIn.ar([9, 10]))
      2  channels 2	// AES(?) 	in 	(AudioIn.ar([11, 12]))
      3  channels 2	// Phones(????) in 	(AudioIn.ar([13, 14]))
      4  channels 8	// ADAT		in 	(AudioIn.ar((15..22)))

"MOTU Traveler" Output Device
   Streams: 5
      0  channels 8	// analog   	out	(AudioIn.ar((1..8)))
      1  channels 2	// SPDIF(?) 	out	(AudioIn.ar([9, 10]))
      2  channels 2	// AES(?) 	out 	(AudioIn.ar([11, 12]))
      3  channels 2	// Phone 	out 	(AudioIn.ar([13, 14]))
      4  channels 8	// ADAT		out 	(AudioIn.ar((15..22)))


So this would enable all your ins/outs:
s.options.numOutputBusChannels_(14).numInputBusChannels_(14)
s.options.inputStreamsEnabled_("11111").outpuStreamEnabled_("11111")

inputStreamsEnabled
- A String which allows turning off input streams that you are not interested in on the audio device. If the string is "01100", for example, then only the second and third input streams on the device will be enabled. Turning off streams can reduce CPU load.

outputStreamsEnabled
- A String which allows turning off output streams that you are not interested in on the audio device. If the string is "11000", for example, then only the first two output streams on the device will be enabled. Turning off streams can reduce CPU load.


hope that helps
Till