Skip to content

Instantly share code, notes, and snippets.

@WillMoggridge
Created July 29, 2020 18:29
Show Gist options
  • Save WillMoggridge/81c7bae376bf97de2053af27d44e0957 to your computer and use it in GitHub Desktop.
Save WillMoggridge/81c7bae376bf97de2053af27d44e0957 to your computer and use it in GitHub Desktop.
PulseAudio settings
#!/usr/bin/pulseaudio -nF
.include /etc/pulse/default.pa
# Focusrite Scarlett 2i2 USB
load-module module-remap-source source_name=scarlett_1 source_properties="device.description='Scarlett 2i2 Channel 1'" remix=no master=alsa_input.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo channels=2 channel_map=left,right master_channel_map=left,left
load-module module-remap-source source_name=scarlett_2 source_properties="device.description='Scarlett 2i2 Channel 2'" remix=no master=alsa_input.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo channels=2 channel_map=left,right master_channel_map=right,right
# set-default-sink alsa_output.pci-0000_09_04.0.analog-stereo.monitor
# set-default-source scarlett_1
# Soundcraft Signature 12 MTK
# Inputs
# load-module module-remap-source source_name=soundcraft_1_2_input source_properties="device.description='Soundcraft Channel 1/2'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=front-left,front-right
load-module module-remap-source source_name=soundcraft_1_input source_properties="device.description='Soundcraft Channel 1'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=front-left,front-left
load-module module-remap-source source_name=soundcraft_2_input source_properties="device.description='Soundcraft Channel 2'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=front-right,front-right
load-module module-remap-source source_name=soundcraft_3_4_input source_properties="device.description='Soundcraft Channel 3/4'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=rear-left,rear-right
load-module module-remap-source source_name=soundcraft_5_6_input source_properties="device.description='Soundcraft Channel 5/6'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=front-center,lfe
load-module module-remap-source source_name=soundcraft_7_8_input source_properties="device.description='Soundcraft Channel 7/8'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=side-left,side-right
load-module module-remap-source source_name=soundcraft_9_10_input source_properties="device.description='Soundcraft Channel 9/10'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=aux0,aux1
load-module module-remap-source source_name=soundcraft_11_12_input source_properties="device.description='Soundcraft Channel 11/12'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=aux2,aux3
load-module module-remap-source source_name=soundcraft_13_14_input source_properties="device.description='Soundcraft Channel 13/14'" remix=no master=alsa_input.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-input channels=2 channel_map=left,right master_channel_map=aux4,aux5
# Outputs
# load-module module-remap-sink sink_name=soundcraft_1_2_output sink_properties="device.description='Soundcraft Channel 1/2'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=front-left,front-right
load-module module-remap-sink sink_name=soundcraft_1_output sink_properties="device.description='Soundcraft Channel 1'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=front-left,front-left
load-module module-remap-sink sink_name=soundcraft_2_output sink_properties="device.description='Soundcraft Channel 2'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=front-right,front-right
load-module module-remap-sink sink_name=soundcraft_3_4_output sink_properties="device.description='Soundcraft Channel 3/4'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=rear-left,rear-right
load-module module-remap-sink sink_name=soundcraft_5_6_output sink_properties="device.description='Soundcraft Channel 5/6'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=front-center,lfe
load-module module-remap-sink sink_name=soundcraft_7_8_output sink_properties="device.description='Soundcraft Channel 7/8'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=side-left,side-right
load-module module-remap-sink sink_name=soundcraft_9_10_output sink_properties="device.description='Soundcraft Channel 9/10'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=aux0,aux1
load-module module-remap-sink sink_name=soundcraft_11_12_output sink_properties="device.description='Soundcraft Channel 11/12'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=aux2,aux3
load-module module-remap-sink sink_name=soundcraft_13_14_output sink_properties="device.description='Soundcraft Channel 13/14'" remix=no master=alsa_output.usb-Soundcraft_Soundcraft_Signature_12_MTK-00.multichannel-output channels=2 channel_map=left,right master_channel_map=aux4,aux5
set-default-sink soundcraft_7_8_output
set-default-source soundcraft_1_input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment