Ask Your Question
1

How do I get multichannel output?

asked 2016-09-01 12:32:38 -0500

danielmkarlsson gravatar image

updated 2016-12-16 02:25:23 -0500

lennart gravatar image

I tried this: http://tidalcycles.org/howtos.html#mu...

Alex says that it is outdated and referred me to: https://github.com/musikinformatik/Su...

I tried changing SuperCollider's startup file to what was suggested there but still no luck. I still get sound out of just the first two channels. From what I've read I think it is possible to change the amount of output channels from SuperDirt while it is running / on the fly but I don't understand how. Any leads would be very much appreciated. I am on a mac.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-09-01 14:31:15 -0500

danielmkarlsson gravatar image

updated 2016-09-02 14:10:40 -0500

yaxu gravatar image

I got help from Alex and the answer is: Put this in your SuperCollider Startup file:

(
// configure the sound server: here you could add hardware specific options
// see http://doc.sccode.org/Classes/ServerOptions.html
s.options.numBuffers = 1024 * 16; // increase this if you need to load more samples
s.options.memSize = 8192 * 16; // increase this if you get "alloc failed" messages
s.options.maxNodes = 1024 * 32; // increase this if you are getting drop outs and the message "too many nodes"
s.options.numOutputBusChannels = 8; // NUMBER OF OUTPUT CHANNEL GOES HERE
s.options.numInputBusChannels = 2; // set this to your hardware input channel size, if necessary
// boot the server and start SuperDirt
s.waitForBoot {
    ~dirt = SuperDirt(8, s); // NUMBER OF OUTPUT CHANNEL GOES HERE ALSO AGAIN
    ~dirt.loadSoundFiles;   // load samples (path containing a wildcard can be passed in)
    s.sync; // wait for samples to be read
    ~dirt.start(57120, [0, 0]);   // start listening on port 57120, create two orbits, each sending audio to channel 0. You can direct sounds to the orbits from tidal e.g. by: `# orbit "0 1 1"
}
)

The SuperCollider Startup file can be reached by clicking File. It's below Open Recent.

edit flag offensive delete link more
0

answered 2016-10-11 12:45:20 -0500

gxl gravatar image

I have not had success making multi channel work.

I open the startup file and write in all that code, then boot SuperDirt, and it still only plays in stereo (with pan 0 = L and pan 1 = R)

Is there anything else I need to do once I add the code into the startup file? Do I need to save or bake it into SuperCollider?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-09-01 12:32:38 -0500

Seen: 177 times

Last updated: Oct 11 '16