You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a breakthrough on this old issue with adafruit i2s mems mic
you need to put the following into ~/.asoundrc
`
/This section makes a reference to your I2S hardware adjust the card name
/ to what is shown in arecord -l after card x: before the name in []
/You may have to adjust channel count also but stick with default first
pcm.dmic_hw {
type hw
card sndrpii2scard
channels 2
format S32_LE
}
/This is the software volume control, it links to the hardware above and after
/ saving the .asoundrc file you can type alsamixer, press F6 to select
/ your I2S mic then F4 to set the recording volume and arrow up and down
/ to adjust the volume
/ After adjusting the volume - go for 50 percent at first, you can do
/ something like
/ arecord -D dmic_sv -c2 -r 48000 -f S32_LE -t wav -V mono -v myfile.wav
pcm.dmic_sv {
type softvol
slave.pcm dmic_hw
control {
name "Boost Capture Volume"
card sndrpii2scard
}
min_dB -3.0
max_dB 30.0
}
/Automatic conversion plugin
pcm.dmic_plug{
type plug
slave.pcm dmic_sv
`
then in ~/.pikrellcam/pikrellcam.conf
change
audio_device dmic_plug
Sorry about the indents i still don't know the proper syntax for this post :P
I know that issue was closed but hope this helps someone :)
The text was updated successfully, but these errors were encountered:
Hello @Waltertscott10 ,
Thanks so much for your sharing. In my case it was /etc/asound.conf file instead of /.asoundrc file. It may be because I did the sound setup with the https://wiki.seeedstudio.com/ReSpeaker_2_Mics_Pi_HAT_Raspberry/ guide. I recommend it for those who don't have much experience in this field. For this reason, I only had to change the audio device number and channel number in the ~/.pikrellcam/pikrellcam.conf file and set audio enable on.
I had a breakthrough on this old issue with adafruit i2s mems mic
you need to put the following into ~/.asoundrc
`
/This section makes a reference to your I2S hardware adjust the card name
/ to what is shown in arecord -l after card x: before the name in []
/You may have to adjust channel count also but stick with default first
pcm.dmic_hw {
type hw
card sndrpii2scard
channels 2
format S32_LE
}
/This is the software volume control, it links to the hardware above and after
/ saving the .asoundrc file you can type alsamixer, press F6 to select
/ your I2S mic then F4 to set the recording volume and arrow up and down
/ to adjust the volume
/ After adjusting the volume - go for 50 percent at first, you can do
/ something like
/ arecord -D dmic_sv -c2 -r 48000 -f S32_LE -t wav -V mono -v myfile.wav
pcm.dmic_sv {
type softvol
slave.pcm dmic_hw
control {
name "Boost Capture Volume"
card sndrpii2scard
}
min_dB -3.0
max_dB 30.0
}
/Automatic conversion plugin
pcm.dmic_plug{
type plug
slave.pcm dmic_sv
`
then in ~/.pikrellcam/pikrellcam.conf
change
audio_device dmic_plug
Sorry about the indents i still don't know the proper syntax for this post :P
I know that issue was closed but hope this helps someone :)
The text was updated successfully, but these errors were encountered: