nejohnson2 / rpi-i2s

Using the ICS43432 MEMS microphone on a Raspberry Pi with i2s
108 stars 24 forks source link

volume set for MIC #2

Open LinhDNguyen opened 6 years ago

LinhDNguyen commented 6 years ago

Hello,

On RPI3, kernel Linux rpi196 4.9.58-v7+ #1046 SMP Tue Oct 24 17:07:15 BST 2017 armv7l GNU/Linux, raspbian stretch (9). I'm following https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-and-test and can record my voice via 2 i2s mic as stereo. But I can't control the MIC volume follows the tutorial.

pi@rpi196:~ $ amixer
Simple mixer control 'PCM',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback -10239 - 400
  Mono: Playback 400 [100%] [4.00dB] [on]
pi@rpi196:~ $ amixer controls
numid=3,iface=MIXER,name='PCM Playback Route'
numid=2,iface=MIXER,name='PCM Playback Switch'
numid=1,iface=MIXER,name='PCM Playback Volume'
numid=5,iface=PCM,name='IEC958 Playback Con Mask'
numid=4,iface=PCM,name='IEC958 Playback Default'

How I can set volume of MICs? Thank you.