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.

  • You're probably going to have to provide more detail than this. Putting exactly what you did into your question usually helps. – Brick Nov 14 '17 at 3:36
  • @Brick, ok I edited my question. – bgsuello Nov 15 '17 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 Nov 6 '18 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 pi@192.168.1.110:/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 Nov 6 '18 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 Nov 6 '18 at 21:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.