forked from Skrappjaw/audio-scripts_jackpulse-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_jack.sh
35 lines (29 loc) · 893 Bytes
/
start_jack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
killall -9 carla
killall -9 jackdbus
killall -9 pulseaudio
sleep 5
jack_control start &
sleep 1
pulseaudio --start
cadence &
sleep 2
pacmd unload-module module-jack-sinkc
pacmd unload-module module-jack-source
sleep 2
#pulseaudio bridges | in / out
pacmd load-module module-jack-source channels=2 source_name=voip-in client_name=voip-in connect=false
pacmd load-module module-jack-sink channels=2 sink_name=voip-out client_name=voip-out connect=false
pacmd load-module module-jack-sink channels=2 sink_name=games-out client_name=games-out connect=false
pacmd load-module module-jack-source channels=2 source_name=media-in client_name=media-in connect=false
pacmd load-module module-jack-sink channels=2 sink_name=media-out client_name=media-out connect=false
sleep 2
a2jmidid -e &
sleep 2
Mixbus5 &
sleep 5
carla &
sleep 3
wall "Audio systems up and running"
sleep 1
exit 0