mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-07-01 01:32:02 +00:00
Stow scripts
This commit is contained in:
17
scripts/bin/audio/es9start.sh
Executable file
17
scripts/bin/audio/es9start.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to add another audio interface if available.
|
||||
|
||||
# Import library
|
||||
source $(dirname $(realpath ${BASH_SOURCE[0]}))/audio-lib.sh
|
||||
|
||||
DEVICE_NAME='ES-9'
|
||||
DEVICE_NUM=$(getCardNumber $DEVICE_NAME)
|
||||
checkCard $DEVICE_NAME $DEVICE_NUM
|
||||
|
||||
# Start up ES-5
|
||||
pkill es-5-pipewire || true
|
||||
/opt/es-5-pipewire/es-5-pipewire >/dev/null 2>/dev/null &
|
||||
sleep 0.1
|
||||
jack_connect ES-5:output "$DEVICE_NAME:playback_SL" || true
|
||||
jack_connect ES-5:output "$DEVICE_NAME:playback_AUX6" || true
|
Reference in New Issue
Block a user