Advertisement
Guest User

Calf Rack and JACK and SimpleScreenRecorder

a guest
Jul 29th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.66 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. [ -z "$SRC_PORT_L" ] && SRC_PORT_L='system:capture_2'
  4. [ -z "$SRC_PORT_R" ] && SRC_PORT_R='system:capture_2'
  5. [ -z "$PRESET_PATH" ] && PRESET_PATH="$HOME/calfjackhost/gate.calfjackhost"
  6. [ -z "$JACK_CLIENT_NAME" ] && JACK_CLIENT_NAME='calfrack'
  7.  
  8. if [ "$1" != '--only-connect' ]; then
  9.     calfjackhost --client "$JACK_CLIENT_NAME" --state "$PRESET_PATH" &
  10.     sleep 3
  11. fi
  12.  
  13. jack_connect "$SRC_PORT_L" "$JACK_CLIENT_NAME:gate In #1"
  14. jack_connect "$SRC_PORT_R" "$JACK_CLIENT_NAME:gate In #2"
  15. jack_connect "$JACK_CLIENT_NAME:gate Out #1" "SimpleScreenRecorder:in_1"
  16. jack_connect "$JACK_CLIENT_NAME:gate Out #2" "SimpleScreenRecorder:in_2"
  17. #jack_connect "" ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement