1234567891011121314151617181920212223 |
- #!/bin/sh
- # script loop2jack, located in /usr/local/bin
- # loop client creation
- /usr/bin/alsa_out -r 48000 -p1204 -j ploop -dploop -q 2 2>&1 1> /dev/null &
- sleep 2
- /usr/bin/alsa_in -r 48000 -p1024 -j cloop -dcloop -q 2 2>&1 1> /dev/null &
- # give it some time before connecting to system ports
- sleep 3
- # cloop ports -> jack output ports
- jack_connect cloop:capture_1 system:playback_1
- jack_connect cloop:capture_2 system:playback_2
- # system microphone (RME analog input 3) to "ploop" ports
- jack_connect system:capture_3 ploop:playback_1
- jack_connect system:capture_3 ploop:playback_2
- # done
- exit 0
|