What OS are you on @larstvei?
Sorry, macOS.
then I have no idea, sorry
Thanks for trying :)
This is really a supercollider question, on Linux we make the connections, on mac we let supercollider do it
I'm on mac too and i have to restart supercollider everytime i switch... btw, i understand the latest upgrade to macos cripples the jdk so you might postpone.
I found this, seems at least for the newer macs it's an unsolved problem https://github.com/supercollider/supercollider/issues/5577
I see! Thank you for looking into this. It would maybe be nice to have a overtone.core/reload or something, to just power the whole machinery down and starting it back up again. I looked at the source, but it wasn’t obvious to me how to do it.
Anyways, the overtone library seems to be in good shape nowadays! I haven’t had any other problems:)
yeah this is something I haven't looked into much yet, in theory you can stop overtone again and restart it, but it doesn't actually work. Should be fixable, the initializationg mechanism is fairly elegant.
If on linux you can do something like this
(require [casa.squid.jack :as jack])
(jack/ports @jack/default-client #{:audio :out})
;; See the name of the ports that overtone uses, probably Overtone:out_1 / Overtone:out_2
(jack/ports @jack/default-client #{:audio :physical :in})
;; See the names of the available audio devices
(jack/connect!
#{["Overtone:out_1" "Built-in Audio Analog Stereo:playback_FL"]
["Overtone:out_2" "Built-in Audio Analog Stereo:playback_FR"]})