Skip to content

Ref: no audio from i2s-mems breakout #46 #83

@Waltertscott10

Description

@Waltertscott10

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions