1

I followed Adafruit's guide for setting up the I2S mic with raspberry pi 3 loaded with precompiled image of Raspbian Jessie for the 3.5in PiTFT.

Also, I'm using another I2S device which is the Speaker Bonnet and it is working fine.

but when recording an audio by:

arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav

and playing the recorded audio which is file.wav by: aplay file.wav, all I get is noise.

5
  • You're probably going to have to provide more detail than this. Putting exactly what you did into your question usually helps.
    – Brick
    Commented Nov 14, 2017 at 3:36
  • @Brick, ok I edited my question.
    – bgsuello
    Commented Nov 15, 2017 at 3:23
  • Hy bgsuello, did you manage to get the playback and the recording working on the same board. I am facing some profound struggles: raspberrypi.stackexchange.com/questions/90647/…
    – Besi
    Commented Nov 6, 2018 at 21:35
  • You could SCP the file.wav to your computer to play it back. Plus you can upload a wav-file from the internet and play it back on your pi. Like this you know if the noise is coming from the mic or the speaker driver. scp [email protected]:/home/pi/file.wav /Users/yourname/Desktop/file.wav or the other way around (of course you'll need to insert proper paths and IP address of your pi).
    – Besi
    Commented Nov 6, 2018 at 21:39
  • Yes, but i forget to create a doc on how did i do it since i was in a hurry. All i can remember was I made a new device tree overlay combining both i2s device as input and output. I did not use the provided drivers by adafruit.
    – bgsuello
    Commented Nov 6, 2018 at 21:45

1 Answer 1

1

@bgsuello I also faced the similar problem microphone was getting detected and was showing it is recording but it was only recording noise, during playback as well noise only could be heard. Reason behind this for me was as in I2S signal integrity matters, as you must be using jumper wires for connecting microphone with raspberry pi, try use small and good quality wires and I will suggest solder the microphone with single strand wires at the back side of the raspberry pi you will get crisp and clear sound. It worked for me and others as well hope it will help you also.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.