SHARE
TWEET

Untitled

a guest Jun 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Jack and Pulseaudio script
  2.  
  3. #!/bin/bash
  4. killall -9 non-mixer
  5. killall -9 carla
  6. killall -9 jackdbus
  7. sleep 5
  8. jack_control start &
  9. sleep 1
  10. pulseaudio --start
  11. cadence &
  12. sleep 5
  13. pacmd unload-module module-jack-sink
  14. pacmd unload-module module-jack-source
  15. sleep 5
  16.  
  17. #pulseaudio bridges | in / out
  18.  
  19. pacmd load-module module-jack-source channels=2 source_name=voip-in client_name=voip-in connect=false
  20. pacmd load-module module-jack-sink channels=2 sink_name=voip-out client_name=voip-out connect=false
  21.  
  22. pacmd load-module module-jack-sink channels=2 sink_name=games-out client_name=games-out connect=false
  23.  
  24. pacmd load-module module-jack-source channels=2 source_name=media-in client_name=media-in connect=false
  25. pacmd load-module module-jack-sink channels=2 sink_name=media-out client_name=media-out connect=false
  26.  
  27.  
  28. sleep 2
  29. a2jmidid -e &
  30. sleep 2
  31. #killall mididings
  32. #mididings -f ~/audio-scripts/midi-osc.py &
  33. sleep 2
  34. non-mixer --osc-port=15159 ~/audio-scripts/non.mix &
  35. sleep 2
  36.  
  37. sleep 2
  38.  
  39. carla ~/audio-scripts/carla.presets/basic.carxp &
  40. sleep 3
  41. wall "Audio systems up and running"
  42. sleep 1
  43. exit 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top