Utility scripts, updates to start scripts.

This commit is contained in:
Jonathan Bernard 2017-04-10 04:52:03 -05:00
parent 7621c7013c
commit 81aad1b970
12 changed files with 106 additions and 7 deletions

View File

@ -0,0 +1,11 @@
#!/bin/bash
for filename in worship.wavex altar.wavex; do
name=${filename%.wavex}
ffmpeg -i "$filename" -filter_complex 'channelsplit=channel_layout=4.1[L][R][B][X][Y]' \
-map '[L]' "${name}-m48.wav" \
-map '[R]' "${name}-drums.wav" \
-map '[X]' "${name}-synth-L.wav" \
-map '[Y]' "${name}-synth-R.wav" \
-map '[B]' "${name}-bass.wav"
done

View File

@ -0,0 +1,9 @@
#!/bin/bash
for filename in worship.wavex altar.wavex; do
name=${filename%.wavex}
ffmpeg -i "$filename" -filter_complex 'channelsplit=channel_layout=2.1[L][R][B]' \
-map '[L]' "${name}-m48.wav" \
-map '[R]' "${name}-drums.wav" \
-map '[B]' "${name}-bass.wav"
done

2
scripts/nl-rec Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
jack_capture --channels 3 --port system:capture_3 --port system:capture_4 --port system:capture_1 "$@"

2
scripts/nl-rec-1 Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
jack_capture -jt --channels 1 --port system:capture_3 sermon.wavex

18
scripts/nl-rec-service Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# Worship
jack_capture --channels 3 \
--port system:capture_3 \
--port system:capture_4 \
--port system:capture_1 \
worship.wavex
# sermon
jack_capture --channels 1 --port system:capture_3 sermon.wavex
# altar
jack_capture --channels 3 \
--port system:capture_3 \
--port system:capture_4 \
--port system:capture_1 \
altar.wavex

View File

@ -0,0 +1,10 @@
#!/bin/bash
# Worship
jack_capture --channels 5 --port system:capture_3 --port system:capture_4 --port system:capture_1 --port yoshimi:left --port yoshimi:right worship.wavex
# sermon
jack_capture --channels 1 --port system:capture_3 sermon.wavex
# altar
jack_capture --channels 5 --port system:capture_3 --port system:capture_4 --port system:capture_1 --port yoshimi:left --port yoshimi:right altar.wavex

4
scripts/nl-split-rec Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
name=${1%.wavex}
avconv -i "$1" -filter_complex 'channelsplit=channel_layout=2.1[L][R][B]' -map '[L]' "${name}-m48.wav" -map '[R]' "${name}-drums.wav" -map '[B]' "${name}-bass.wav"

View File

@ -2,8 +2,11 @@
qjackctl -s -p Church48K &
echo "Waiting 4sec to let JACK start."
sleep 4.0s
jack-rack -s bass /home/music/projects/music-production/jack-rack-presets/YamahaTRB &
jack-rack -s mix /home/music/projects/music-production/jack-rack-presets/M48-Mix &
jack-rack -s mix_drums /home/music/projects/music-production/jack-rack-presets/M48-Mix-Drums &
jack-rack -s headphones /home/music/projects/music-production/jack-rack-presets/Headphones &
meterbridge -n meter -t dpm x x x x x
jack-rack -s bass /home/music/projects/music-production/jack-rack-presets/newlife/yamaha-trb &
jack-rack -s mix /home/music/projects/music-production/jack-rack-presets/newlife/m48-mix &
jack-rack -s mix_drums /home/music/projects/music-production/jack-rack-presets/newlife/drums &
jack-rack -s headphones /home/music/projects/music-production/jack-rack-presets/newlife/headphones &
meterbridge -n meter -t dpm x x x x x &
echo "Waiting 2 sec to let all the apps start."
sleep 2.0s
devilspie &

View File

@ -0,0 +1,15 @@
#!/bin/bash
qjackctl -s -p Church48K &
echo "Waiting 4sec to let JACK start."
sleep 4.0s
jack-rack -s bass /home/music/projects/music-production/jack-rack-presets/newlife/yamaha-trb &
jack-rack -s mix /home/music/projects/music-production/jack-rack-presets/newlife/m48-mix &
jack-rack -s mix_drums /home/music/projects/music-production/jack-rack-presets/newlife/drums &
jack-rack -s headphones /home/music/projects/music-production/jack-rack-presets/newlife/headphones &
meterbridge -n meter_bass -t dpm x x x x &
meterbridge -n meter_m48 -t dpm x x &
yoshimi -c &
a2jmidid &
echo "Waiting 2 sec to let all the apps start."
sleep 2.0s
devilspie &

View File

@ -0,0 +1,16 @@
#!/bin/bash
qjackctl -s -p Church48K &
echo "Waiting 4sec to let JACK start."
sleep 4.0s
jack-rack -s bass /home/music/projects/music-production/jack-rack-presets/newlife/yamaha-trb &
jack-rack -s bass2 /home/music/projects/music-production/jack-rack-presets/newlife/bass2 &
jack-rack -s mix /home/music/projects/music-production/jack-rack-presets/newlife/m48-mix &
jack-rack -s mix_drums /home/music/projects/music-production/jack-rack-presets/newlife/drums &
jack-rack -s headphones /home/music/projects/music-production/jack-rack-presets/newlife/headphones &
jack-rack -s headphones2 /home/music/projects/music-production/jack-rack-presets/newlife/headphones2 &
meterbridge -n meter_bass -t dpm x x x &
meterbridge -n meter_bass2 -t dpm x x x &
meterbridge -n meter_m48 -t dpm x x &
echo "Waiting 2 sec to let all the apps start."
sleep 2.0s
devilspie &

9
scripts/start-home-session Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
qjackctl -s -p Onboard48K &
echo "Waiting 4sec to let JACK start."
sleep 4.0s
jack-rack -s bass /home/music/projects/music-production/jack-rack-presets/home/yamaha-trb &
#jack-rack -s mix /home/music/projects/music-production/jack-rack-presets/M48-Mix &
#jack-rack -s mix_drums /home/music/projects/music-production/jack-rack-presets/M48-Mix-Drums &
jack-rack -s headphones /home/music/projects/music-production/jack-rack-presets/home/headphones &
j2amidi_bridge &

View File

@ -2,7 +2,7 @@
qjackctl -s -p Onboard48K &
echo "Waiting 4sec to let JACK start."
sleep 4.0s
jack-rack -s bass /home/music/projects/music-production/jack-rack-presets/YamahaTRB &
jack-rack -s bass /home/music/projects/music-production/jack-rack-presets/onboard/yamaha-trb &
#jack-rack -s mix /home/music/projects/music-production/jack-rack-presets/M48-Mix &
#jack-rack -s mix_drums /home/music/projects/music-production/jack-rack-presets/M48-Mix-Drums &
jack-rack -s headphones /home/music/projects/music-production/jack-rack-presets/Headphones &
jack-rack -s headphones /home/music/projects/music-production/jack-rack-presets/onboard/headphones &