Replies: 3 comments 6 replies
-
Analog microphones are providing a low audio quality and you need so use very short cables. So this is a hardware issue and has nothing to do with my software... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the information. I spent a few days experimenting with the I2S mic to learn that they have signal issues over 300 mm in cable length.However the issue I am having is a speed problem. I am using the MAX9824 mic with the same short length of cable as the previously working I2S mic for test purposes. The resulting WAV file sounds like the voice is in slow motion with very little noise and while the recording length is set to 10 seconds the file save is actually taking about 13 seconds and plays for the same longer duration on my pc.The I2S mic works really well but the cable length is just too short for my application.
-------- Original message --------From: Phil Schatzmann ***@***.***> Date: 24/03/2023 17:47 (GMT+00:00) To: pschatzmann/arduino-audio-tools ***@***.***> Cc: gvm2023 ***@***.***>, Author ***@***.***> Subject: Re: [pschatzmann/arduino-audio-tools] Analog audio mic to SD card problem (Discussion #709)
Analog microphones are providing a low audio quality and you need so use very short cables.
The longer the cable the more noise!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I'd rather think that you made a mistake with passing the sample rate or channels to the WAV. I could go up to 48000 w/o any issues. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using these great audio tools , I have successfully used an I2S microphone and saved recordings as a WAV file on an SD card but when I changed over to use an analog mic, MAX9814 (I needed a long cable length for my application ) the saved WAV file results in very slow and distorted speech sounds.
It would appear that the ESP32 ADC (GPIO32) and the SD card save actions are not compatible.
I have run out of ideas so any help would be much appreciated pointing me in the right direction.
Basic setup
AnalogAudioStream adc; //was I2SStream i2s;
File audioFile;
EncodedAudioStream out(&audioFile, new WAVEncoder());
StreamCopy copiermic(out, adc); // was StreamCopy copiermic (out, i2s);
Void loop ()
copiermic.copy();
Beta Was this translation helpful? Give feedback.
All reactions