Adjust microphone volume level - Teraskull/music_led_strip_control-wiki GitHub Wiki

If your LED Strip does not react to music or only reacts if the music is very loud, you should increase the volume level of the microphone.

Open the volume mixer:

alsamixer -c 1

Press F5 to show all items. Increase the level of "Mic" and "Capture". MLSC can run in the background.

You can check the quality of the mic by using the record function:

arecord --device=hw:1,0 --format S16_LE --rate 44100 -c1 test.wav -V mono

This will record an audio file that you can play back:

aplay --device=plughw:1,0 test.wav

If your LED Strip flickers on music modes while no music is playing, adjust the Minimum Volume Threshold in General Settings:

image

Common values are 0.001 - 0.009.

Revision 2.2