Last active
August 13, 2025 01:37
-
-
Save phoenixthrush/02d688fb16560be43ea6eae3e77ed647 to your computer and use it in GitHub Desktop.
Fixing Sound BlasterX G6 Microphone on Linux #SoundBlasterXG6 #Linux #Microphone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| cardNumber=$(aplay -l|grep 'Sound BlasterX G6'|cut -d' ' -f 2 |tr -d ':') | |
| amixer -c "$cardNumber" -q set "PCM Capture Source" "External Mic" | |
| if [ $? -eq 0 ]; then | |
| echo "PCM Capture Source successfully changed to 'External Mic'" | |
| else | |
| echo "Failed to configure PCM Capture source for Sound BlasterX G6" | |
| fi | |
| amixer -c "$cardNumber" -q sset 'Input Gain Control' 3 | |
| if [ $? -eq 0 ]; then | |
| echo "Input Gain Control set to 3" | |
| else | |
| echo "Failed to activate mic Boost for Sound BlasterX G6" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment