1
0
Fork 0

Basic script for mic chain

This new script sets up a sink for the mic chain and loads the proper configuration.
This commit is contained in:
Teo-CD 2023-02-26 19:06:33 +00:00
parent 629cd1d2c0
commit cb341b2ada

14
Perso/auto_audio.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
module=$(pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=Virt_Mic channel_map=front-left,front-right)
if [ ! $? ]; then
notify-send -a "$0" -i microphone "Failed to set-up null sink"
exit -1
else
notify-send - "$0" -i microphone "Null sink set-up"
fi
carla ~/Projects/Audio/Carla/Basic\ Setup.carxp
pactl unload-module $module