aboutsummaryrefslogtreecommitdiffstats
path: root/bin/start_jack
diff options
context:
space:
mode:
Diffstat (limited to 'bin/start_jack')
-rwxr-xr-xbin/start_jack6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/start_jack b/bin/start_jack
index 0c99aab..dfd6e4f 100755
--- a/bin/start_jack
+++ b/bin/start_jack
@@ -25,9 +25,11 @@ case "$HOSTNAME" in
DEVICE="/dev/fw1"
# TODO: Add settings from separate config file
if [[ -e $DEVICE && -r $DEVICE && -w $DEVICE ]]; then
+ echo "Stopping pulseaudio"
+ systemctl --user stop pulse
echo "Setting up "$DEVICE" with JACK."
jack_control start
- sudo schedtool -R -p 20 `pidof jackdbus`
+# sudo /usr/bin/schedtool -R -p 20 `pidof jackdbus`
jack_control eps realtime true
jack_control ds firewire
jack_control dps device $DEVICE
@@ -36,7 +38,7 @@ case "$HOSTNAME" in
jack_control dps period 256
sleep 3
a2jmidid -e &
- sudo schedtool -R -p 20 `pidof a2jmidid`
+# sudo /usr/bin/schedtool -R -p 20 `pidof a2jmidid`
rm ~/.config/SuperCollider/startup.scd
ln -s ~/.config/SuperCollider/startupfiles/electronicStudio.scd ~/.config/SuperCollider/startup.scd -v
else