Teo-CD
cb341b2ada
This new script sets up a sink for the mic chain and loads the proper configuration.
14 lines
376 B
Bash
Executable file
14 lines
376 B
Bash
Executable file
#!/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
|