-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue recording with Analog microphone #17
Comments
Could you post all the changes you made? The code would give more insight in what could be happening than a picture of audacity waveforms. That's the result not the cause. |
Hey there Gaai thanks for the reply. Apart from changing some fo the pins (with no issues on that) and transitioning to the sd library using the #9 theres not much ive changed but here is the code for:
WAVFileWritter.h
ADCSAMPLER.cpp
ADCSampler.h
|
There 's a few things that don't add up to me. While samples is Original WAVFileWriter: I2SMEMS (config.h: 32bit): ADC (config.h 16bit):
|
yeah i think everything is ok with my input. i really think the issue relies on the sample units like you said. |
i got this part of the code from a reply to issue #9 @ |
@tuneado I had a completely different one. Recorded voice was super fast x2 or x3 times faster than normal. I'm using MEMS microphone INMP441 module. Spend some time to figure this out, and fixed function now looks like this: int I2SMEMSSampler::read(int16_t *samples, int count) Apparently value "15" is a gain of sound amplification. Adding my i2s config: // i2s config for reading from I2S You are right to point out that issue relies on the sample units. Thank you! |
hello. I wanted to use PDM microphone. Please tell me how to do |
Hey there
Thanks for this project its been very helpful and insightful so far.
I managed to adapt the project to the Arduino's SD library and got the recording workig with the MEM's microphone.. but when i hook up a MAX9814 analog mic my recording gets super slow(aprox 4x longer) i think this has to do with the bit resolution of the recording or something but im fairly 'newbie' to programing. Thats why im asking you for help
The two recordings
top - analog mic (4x the size of the bottom one)
bottom - mems microphone
The text was updated successfully, but these errors were encountered: