Fork me on GitHub
#overtone
<
2024-04-05
>
pfeodrippe05:04:43

Hi \o This project is back, thanks to Arne =D Just like the question above by Lars, I'm on a Mac and I'm trying to connect to some aggregate device, I can do it in SC (client) by using

Server.default.options.device = "Aggregate Device";
Server.default.reboot;
then I can see SC's audio output in, for example, a DAW like bitwig. Is there a way that we can eval-sc? lol Or at least that it respects the startup.scd file?

1
pfeodrippe05:04:22

Inside startup.scd, I have

Server.local.options.maxLogins = 10;
Server.default.options.device = "Aggregate Device";
Server.default.reboot;
and this does the trick for sclang (the SC client).

pfeodrippe05:04:40

A workaround for now is connecting to the sclang server that has the correct config (first kill the internal one)

(do (kill-server)
      (connect-server 57110)) ;; 57110 is the port you see in sclang's client output

pfeodrippe06:04:54

This is what I wanted \o/ (the volume is loud as we have some double buffering because of the recording, but you can see the effect affecting half of the sound :P)

pfeodrippe12:04:18

@U19EUKYLT Connecting to sclang’s IDE (the SC app) and adding the commands to the startup script may be a workaround for now o/

larstvei16:04:48

Thank you, I’ll give it a shot!

plexus09:04:06

looks like we support :hw-device-name in .overtone/config.clj. It gets passed to scsynth as -H. Can you try that?

pfeodrippe23:04:24

Awesome, thanks! Will try it o/

pfeodrippe00:04:26

Yes, it works! Thank you, Arne! @U19EUKYLT So my ~/.overtone/config.clj is now like the following (see :sc-args)

{:os :mac,
 ... ...
 :sc-args {:hw-device-name "Aggregate Device"}
 ... ...}