Multichannel Audio Problem

View: New views
4 Messages — Rating Filter:   Alert me  

Multichannel Audio Problem

by Marinos Koutsomichalis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to route audio to 8 channels, my problem is that I fail to route it to channels 2-10. I have a stero output (main ) at 0,1 and I guess the rest 8 analog outputs are at channels 2-10, but I get sound only out of 2-8 when routing audio to 2-10....
I fail to send audio to the 7 and 8 analog output  of my soundcard..


I use a Motu Ultralight interface, this is what I get when booting the Server


booting 57110
Machine Listening UGens by Nick Collins for SuperCollider 3 
Tartini adapted from Phil McLeod's Tartini project
AutoTrack adapted from Matthew Davies' autocorrelation beat tracker
Qitch based on algorithms published by Judith Brown and Miller Puckette
initialising FFTW for common plans 
done FFTW initialisation 
 Using vector unit: no
Number of Devices: 6
   0 : "Built-in Microphone"
   1 : "Built-in Input"
   2 : "Built-in Output"
   3 : "Soundflower (2ch)"
   4 : "Soundflower (16ch)"
   5 : "MOTU UltraLite"

"MOTU UltraLite" Input Device
   Streams: 3
      0  channels 8
      1  channels 2
      2  channels 2

"MOTU UltraLite" Output Device
   Streams: 4
      0  channels 2
      1  channels 8
      2  channels 2
      3  channels 2

<-SC_CoreAudioDriver::Setup world 00424250
SC_AudioDriver: numSamples=512, sampleRate=44100.000000
->SC_CoreAudioDriver::DriverStart
start   UseSeparateIO?: 0
<-SC_CoreAudioDriver::DriverStart
SuperCollider 3 server ready..
PublishPortToRendezvous 0 5855
ServerWatcher:checkIfReallyBooted : checking!
ServerWatcher:serverReallyBooted : BOOOOOOOOOOOOOOOOOOTEDDDDDDD!
notification is on


I guess sth has to do with those "streams", but I really don't have the slightest idea of what exactly is meant here...



On my code I just use the ambisonics decoder like that :

#w,x,y=PanB2.ar(signal,Rand(-pi,pi),Rand((-0.5*pi),(0.5*pi)));
#ch1,ch2,ch3,ch4,ch5,ch6,ch7,ch8=DecodeB2.ar(8,w,x,y);
Out.ar(2,[ch1,ch2,ch3,ch4,ch5,ch6,ch7,ch8])


Note that the when I change Out.ar's output to 0 I do get 8 channels from 0 to 7...
I'd also any advice regarding how I use PanB2 and Decode, I've never use them before and I can't really test the outcome, I can only check one channel at a time.



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

Re: Multichannel Audio Problem

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

myServer.options.numOutputBusChannels = 10;
myServer.boot;

The default is 8, of which 2 are the main outs and the remaining 6 will go to the analog outs. Analog outs 7 and 8 correspond to server audio buses 8 and 9 - hence you need to specify 10 output bus channels (i.e., 0..9).

hjh

On May 7, 2008, at 5:18 AM, Marinos Koutsomichalis wrote:

I am trying to route audio to 8 channels, my problem is that I fail to route it to channels 2-10. I have a stero output (main ) at 0,1 and I guess the rest 8 analog outputs are at channels 2-10, but I get sound only out of 2-8 when routing audio to 2-10....
I fail to send audio to the 7 and 8 analog output  of my soundcard..


: H. James Harkins

: jamshark70@...

: http://www.dewdrop-world.net

.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman



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

Re: Multichannel Audio Problem

by James Harkins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Or, if you want to disable the main outs and use only analog 1-8, you could do:

s.options.outputStreamsEnabled = "01";

In the streams list:

      0  channels 2
      1  channels 8
      2  channels 2
      3  channels 2

"01" says off for the first item in this list (main outs), ON for the second (analog outs), and off for the remaining items.

hjh

On May 7, 2008, at 7:49 AM, James Harkins wrote:

myServer.options.numOutputBusChannels = 10;
myServer.boot;

The default is 8, of which 2 are the main outs and the remaining 6 will go to the analog outs. Analog outs 7 and 8 correspond to server audio buses 8 and 9 - hence you need to specify 10 output bus channels (i.e., 0..9).

hjh

On May 7, 2008, at 5:18 AM, Marinos Koutsomichalis wrote:

I am trying to route audio to 8 channels, my problem is that I fail to route it to channels 2-10. I have a stero output (main ) at 0,1 and I guess the rest 8 analog outputs are at channels 2-10, but I get sound only out of 2-8 when routing audio to 2-10....
I fail to send audio to the 7 and 8 analog output  of my soundcard..


: H. James Harkins

: jamshark70@...

: http://www.dewdrop-world.net

.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman



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

Re: Multichannel Audio Problem

by Josh Parmenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can also tell the MOTU to skip the first two in the MOTU control panel I believe. Set default stereo output to Analog 1-2, and the Main outs will not be used.

What James shows below is more efficient though! 

Josh

On May 7, 2008, at 5:48 AM, James Harkins wrote:

Or, if you want to disable the main outs and use only analog 1-8, you could do:

s.options.outputStreamsEnabled = "01";

In the streams list:

      0  channels 2
      1  channels 8
      2  channels 2
      3  channels 2

"01" says off for the first item in this list (main outs), ON for the second (analog outs), and off for the remaining items.

hjh

On May 7, 2008, at 7:49 AM, James Harkins wrote:

myServer.options.numOutputBusChannels = 10;
myServer.boot;

The default is 8, of which 2 are the main outs and the remaining 6 will go to the analog outs. Analog outs 7 and 8 correspond to server audio buses 8 and 9 - hence you need to specify 10 output bus channels (i.e., 0..9).

hjh

On May 7, 2008, at 5:18 AM, Marinos Koutsomichalis wrote:

I am trying to route audio to 8 channels, my problem is that I fail to route it to channels 2-10. I have a stero output (main ) at 0,1 and I guess the rest 8 analog outputs are at channels 2-10, but I get sound only out of 2-8 when routing audio to 2-10....
I fail to send audio to the 7 and 8 analog output  of my soundcard..


: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

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

******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users
LightInTheBox - Buy quality products at wholesale price