SuperCollider Forum
May 18, 2013, 05:42:24 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The SuperCollider forum is currently experiencing a rash of spambot registrations. New user requests may not be approved quickly as a result -- and if your email address looks like spam, it might not be approved at all. We are working to improve the security of the registration process, and to provide alternate means to contact the administrators to get a new account. Thanks for your patience.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Channels choice in with Soundflower  (Read 4623 times)
0 Members and 1 Guest are viewing this topic.
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« on: November 04, 2008, 05:12:35 AM »

Dear Sc user,

I am wondering if anyone could give me a tip. I am having some sounds in Max and in SC which I want to record in Logic. Therefore I am using Soundflower (16ch).

I could send the Max signal on channel 3-4. Logic can record it.
I would like to have the output of all Supercollider Synths on 5-6.

I have used this code, but I do not know how to change the output to 5-6:
Code:
ServerOptions.devices
ServerOptions.outDevices
ServerOptions.inDevices

to set the sound card:

o = Server.default.options;

o.device
o.inDevice
o.outDevice

eg:

o.device = "Soundflower (16ch)"


Any help appreciated,
All the best,
Krisztian

Logged
joshp
AdminGroup
Full Member
*

Karma: 5
Posts: 121



View Profile WWW
« Reply #1 on: November 04, 2008, 05:51:47 AM »

I don't think there is a way to do this with ServerOptions. You need to just send to Out.ar on 4 and 5 (since '1' id Out at 0)

Josh
Logged
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« Reply #2 on: November 04, 2008, 03:38:08 PM »

Hi Josh,

I think my English left me as I do not know what you mean.

Shall I change the bus number of the out.ar in the Synth :
Out.ar( 0, Pan2.ar(mastera * sound * envgen,0))     to 
Out.ar( 5, Pan2.ar(mastera * sound * envgen,0))   

this did not work so far..

or shall I send the unchanged out.ar
Out.ar( 0, Pan2.ar(mastera * sound * envgen,0)) 
to 4 and 5 somehow?

thank you!

krisztian
Logged
joshp
AdminGroup
Full Member
*

Karma: 5
Posts: 121



View Profile WWW
« Reply #3 on: November 04, 2008, 03:40:13 PM »

If Soundflower is your sound driver choice in SC, this should output to Soundflower 5:

Out.ar( 4, Pan2.ar(mastera * sound * envgen,0))   

Best,

Josh
Logged
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« Reply #4 on: November 05, 2008, 04:04:00 AM »

Hi Josh,

I think there must be a problem with the way I set up Soundflower as a driver as with changing the bus of Out.ar Logic still does not see it.

I set soundflower as a driver like this:
Code:
ServerOptions.devices
ServerOptions.outDevices
ServerOptions.inDevices

to set the sound card:

o = Server.default.options;

o.device
o.inDevice
o.outDevice


o.device = "Soundflower (16ch)"

Should this be enough?

thank you!
Krisztian

Logged
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« Reply #5 on: November 05, 2008, 07:43:26 AM »

hi,

now I am trying to use JackPilot for the same. As my tutor told me there is an issue with Soundflower and SC.

o = Server.default.options;
o.device = "JackPilot"

Then I just should change the bus of Out.ar ...
now I think this keeps being a secret as it does not work...
any tips are appreciated.
best,
K

Logged
joshp
AdminGroup
Full Member
*

Karma: 5
Posts: 121



View Profile WWW
« Reply #6 on: November 05, 2008, 11:30:06 AM »

I use Jack quite a bit (and was just about to suggest it as well). Make sure the number of outputs from SC is high enough:

s.options.numOutputBusChannels_(Cool;

And I think the actual device name for Jack is JackRouter:

s.options.device_("JackRouter");

Then boot.

THEN - you need to go into Jack Pilot and connect your scsynth outputs to your Logic inputs. Since you are using Jack, you actually don't have to change your Out.ar anymore! So, Out.ar(0 ... ) is the same as scsynth - out1 in Jack. Open the Connections Manager in Jack. On Send Ports click the triangle to the right of scsynth to bring down its ports. Then, click 'out1' once. Go to the Receive Ports, open Logic's triangle, and DOUBLE-CLICK the port you want SC to go into (probably in5?). Both out1 and in5 will now be red. This tells you they are connected, and you should be ready to go.

Best,

Josh

Logged
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« Reply #7 on: November 05, 2008, 04:58:58 PM »

wooow...

I understood, I must boot after setting how many busCannels I want, and making JackRouter to s.device!!!

Then only can I see SC in JackPilot!

The rest was easy:)

I changed the Out.ar(0, ...) to Out.ar(4,....) so I could only hear the synths in Logic (5-6)

Josh, thank you very much!!!

all the best.
Krisztian
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!