SHARE
TWEET

jack-start.sh

a guest Feb 28th, 2017 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. !/bin/bash
  2. killall -9 non-mixer
  3. killall -9 carla
  4. jack_control start &
  5. sleep 1
  6. pulseaudio --start
  7. cadence &
  8. sleep 2
  9. pacmd unload-module module-jack-sink
  10. pacmd unload-module module-jack-source
  11. sleep 5
  12.  
  13. #mumble in / out
  14. pacmd load-module module-jack-source source_name=UMC404HD-IN connect=false
  15. pacmd load-module module-jack-sink sink_name=UMC404HD-OUT channels=2 connect=false
  16.  
  17. pacmd load-module module-jack-source channels=2 source_name=mumble client_name=Mumble-IN connect=false
  18. pacmd load-module module-jack-sink channels=2 sink_name=mumble client_name=Mumble-Out connect=false
  19.  
  20. pacmd load-module module-jack-source channels=2 source_name=mumble client_name=Discord-IN connect=false
  21. pacmd load-module module-jack-sink channels=2 sink_name=mumble client_name=Discord-Out connect=false
  22.  
  23.  
  24. pacmd load-module module-jack-source channels=2 source_name=games-in client_name=games-in connect=false
  25. pacmd load-module module-jack-sink channels=2 sink_name=games-out client_name=games-out connect=false
  26.  
  27. pacmd load-module module-jack-source channels=2 source_name=media-in client_name=media-in connect=false
  28. pacmd load-module module-jack-sink channels=2 sink_name=media-out client_name=media-out connect=false
  29.  
  30.  
  31. pacmd set-default-sink UMC404HD-OUT
  32. pacmd set-default-source UMC404HD-IN
  33. sleep 2
  34. a2jmidid -e &
  35. sleep 2
  36. killall mididings
  37. mididings -f ~/Carla/midi-osc.py &
  38. sleep 2
  39. non-mixer --osc-port=15159 ~/Carla/non.mix &
  40. sleep 2
  41.  
  42. mumble &
  43. sleep 2
  44.  
  45. carla ~/Carla/umc404.carxp &
  46. sleep 3
  47. pactl set-sink-volume UMC404HD-OUT 66% &
  48. sleep 1
  49. 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