From b1809c4faa6eab2e54799495eb3fcf68cbacc9de Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Wed, 18 Jan 2023 01:44:51 +0100 Subject: [PATCH] Add frequenzweiche4 for use with new huge mixer on the table --- audio-office4 | 76 +++++++++++++++++++++++++++++++++++++++++ connect4.sh | 38 +++++++++++++++++++++ frequenzweiche4.service | 21 ++++++++++++ frequenzweiche4.sh | 9 +++++ 4 files changed, 144 insertions(+) create mode 100644 audio-office4 create mode 100755 connect4.sh create mode 100644 frequenzweiche4.service create mode 100755 frequenzweiche4.sh diff --git a/audio-office4 b/audio-office4 new file mode 100644 index 0000000..783846a --- /dev/null +++ b/audio-office4 @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/connect4.sh b/connect4.sh new file mode 100755 index 0000000..cf0a753 --- /dev/null +++ b/connect4.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX0" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX0" +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX1" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX1" + +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX4" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX4" +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX5" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX5" + +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX6" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX6" +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX7" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX7" + +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX8" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX8" +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-input-0:capture_AUX9" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_2B831B25-00.pro-output-0:playback_AUX9" + +# arbeitsraum +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-input-0:capture_AUX6" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX6" +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-input-0:capture_AUX7" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX7" + +#discoraum +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-input-0:capture_AUX2" "Calf Studio Gear:Limiter In #1" +pw-link "alsa_input.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-input-0:capture_AUX3" "Calf Studio Gear:Limiter In #2" +pw-link "Calf Studio Gear:Limiter Out #1" "Calf Studio Gear:X-Over 3 Band In #1" +pw-link "Calf Studio Gear:Limiter Out #2" "Calf Studio Gear:X-Over 3 Band In #2" +pw-link "Calf Studio Gear:X-Over 3 Band Out #1" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX0" +pw-link "Calf Studio Gear:X-Over 3 Band Out #2" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX1" +pw-link "Calf Studio Gear:X-Over 3 Band Out #3" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX2" +pw-link "Calf Studio Gear:X-Over 3 Band Out #4" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX3" +pw-link "Calf Studio Gear:X-Over 3 Band Out #5" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX4" +pw-link "Calf Studio Gear:X-Over 3 Band Out #6" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX5" + +#lötraum +pw-link "Calf Studio Gear:X-Over 2 Band (2) Out #1" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX8" +pw-link "Calf Studio Gear:X-Over 2 Band (2) Out #3" "alsa_output.usb-Native_Instruments_Traktor_Audio_10_639DD95C-00.pro-output-0:playback_AUX9" + +# midi +pw-link "Midi-Bridge:Native Instruments Traktor Audio 10 at usb-0000:01:00-0-1-1- high speed:(capture_0) Traktor Audio 10 MIDI 1" "Calf Studio Gear:Automation MIDI In" +pw-link "Midi-Bridge:Native Instruments Traktor Audio 10 at usb-0000:01:00-0-1-2- high speed:(capture_0) Traktor Audio 10 MIDI 1" "Calf Studio Gear:Automation MIDI In" + diff --git a/frequenzweiche4.service b/frequenzweiche4.service new file mode 100644 index 0000000..a0a99c8 --- /dev/null +++ b/frequenzweiche4.service @@ -0,0 +1,21 @@ +[Unit] +Description=Frequenzweiche 4 +After=network.target pipewire.service + +[Service] +Type=simple +#User=feedc0de +#Group=feedc0de +Restart=always +RestartSec=1 +Restart=always +#ExecStart=calfjackhost -l /home/feedc0de/audio-office4 -n +#Environment="PIPEWIRE_LATENCY=64/48000" +ExecStartPre=/bin/sleep 2 +ExecStart=/home/feedc0de/frequenzweiche4.sh +CPUAffinity= +CPUAffinity=1-3 + +[Install] +WantedBy=default.target +#WantedBy=multi-user.target diff --git a/frequenzweiche4.sh b/frequenzweiche4.sh new file mode 100755 index 0000000..146ddf6 --- /dev/null +++ b/frequenzweiche4.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +PIPEWIRE_LATENCY=64/48000 calfjackhost -l audio-office4 -n & + +sleep 1 + +/home/feedc0de/connect4.sh + +wait