laamaa / m8c

Cross-platform M8 tracker headless client
Other
409 stars 85 forks source link

Audio routing startup script #89

Closed zsoltmar closed 1 year ago

zsoltmar commented 1 year ago

I have Jackd routing the audio, I added the commands from the readme in a script and it works when I run the script manually. However when I try to add this script to be executed at boot by rc.local it just doesn't want to run. Is there some trick to this? It's pretty annoying to have to initiate the script manually in order to get some sound after every restart. Any tips?

laamaa commented 1 year ago

That question's not really in the scope of this project, sorry. If you have jackd running in the system already, you could just put something like jack_connect "M8 Analog Stereo:capture_FL" "Yamaha 01V96i Multichannel:playback_FL" && jack_connect "M8 Analog Stereo:capture_FR" "Yamaha 01V96i Multichannel:playback_FR" in your .bash_profile (depending on your system configuration of course)

laamaa commented 1 year ago

(sorry, now that I think of it I'm not sure if routing audio between interfaces works like that outside of Pipewire)