Microphone volume control
amixer sset Mic 55 -c 2
The last 2 are card numbers.
You can check it out at
2 is the card number, 0 is the device number
arecord -D plughw:2,0 -d 10 -f cd test.wav
↓ change the rate of recording (actually the resolution bit also changed to 8bit- >16bit. Does it automatically recognize the device it's connected to?)
↓ -f 16000 to get 16 kHz rate
$ arecord -f S16_LE -r 16000 test2.wav
↓Conclusion 16kHz / mono /signed 16bit little endian
arecord -D plughw:0,0 -f S16_LE -r 16000 test.wav
Also possible with alsamixer
-> alsamixer is a lie! The following link is correct amixer
Microphone and speakers can be set up together.
→Mike did not actually reflect this!
The following link is correct
If no sound is heard
Check output devices
to see the output device number.
Was this all you could get?
Official Adafruit page for USB speakers
It didn't work once I set up Jessie.
I deleted it and the sound came out!
Error after reboot!
pi@raspberrypi:~/WatchOverBudge/voice $ aplay man-voice.wav
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
aplay: main:788: audio open error: no such file or directory
Example of arecord configuration
You can see the PCM device list here.
sudo vim /proc/asound/pcm
For some reason, it does not sound with hw:0,0 in aplay, but it does with plughw:0,0.
aplay -D plughw:0,0 test.wav