mhagegh / esp32_soundrecorder Goto Github PK
View Code? Open in Web Editor NEWESP32 Sound recorder with simple code in arduino-esp32. (I2S interface)
License: MIT License
ESP32 Sound recorder with simple code in arduino-esp32. (I2S interface)
License: MIT License
hi,
is there any spiffs version? changing sd.write to spiffs.write does not work since partition is different or something else.
additionaly, can you please explain +2 +3 part in the loop?
Hi!
If you can, please provide an example of how I can track the sound level with the MAX9814.
Hi!
I tried using MAX4466 with the MAX9814 since it is similar to it the only difference if the automatic gain and it worked but with great noise added.
Can it also work with INMP441? or it only works for ADMP441?
I tried implementing it with INMP441, without the pull up resistors and capacitors, it didn't work.
I tried adding 100k ohm and only 10pf cap (since I have no 22pf) bet SCK and GND, still didn't work.
The SD card wiring for my sd card adapter, pullup resistors weren't necessary, same with what was used in for the MAX9814 example.
The code seems to stop at this part:
I2S_Read(communicationData, numCommunicationData);
Regards,
rmond18
Dear sir, I am an ecologist. I am trying to make a automatic acoustic recorder which I can deployed in the wild. Your project is the best I found. I want to use time as filenames. How can I add a RTC module for it? Thank you very much.
44khz ではなく 16khz で約 10 秒間 16 ビット録音を録音するようにコードを変更するにはどうすればよいですか。私の意図はファイル サイズを小さくすることです。
Hello,
What is meaning this constants at .ino file 88000 and 8000?
const int waveDataSize = record_time * 88000;
const int numCommunicationData = 8000;
Is it somehow belongs to sample rate 44100 Hz @ 16bits?
hi,
I use esp-wroom-32 and max9814 to record sound and run you code return rx NULL error.
error info:E (1245) I2S: /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/i2s.c:1325 (i2s_read):rx NULL
Can you help me see what the problem is ?
When I add zip file to Arduino ide library It's showing error like
error: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: library not valid
Please give me solution
hey i try this code and changes my sd card and i2s gpio pin number after successfully upload .wav file is save not sd card but its silent not listen anything can you please help me to solve this
I have tried using MicroPython to record 8Khz mono playback sound size is normal. The proof is MX9814 is no problem. Can you help me answer that?
Hello,
I try to modify this post for doing a stereo version.
I modify the wav header as :
header[22] = 0x02; // stereo
header[28] = 0x10; // Byte/sec = (44100x16x2)/8 = 176400 STEREO
header[29] = 0xB1;
header[30] = 0x02;
header[31] = 0x00;
header[32] = 0x04; // 16bit stereo
I modify too
const int waveDataSize = record_time * 176400; // (44100x16x2)/8 = 176400
The generated file is indeed stereo. There is audio on both channels. The waveform looks identical. The speed is twice as fast. I think it must miss the bytes of the second channel.
Could you help me with some code ?
Could you explain theses two lines please :
const int numCommunicationData = 8000; // Why 8000 ?
const int numPartWavData = numCommunicationData/4; // Why ?
Best regards
Loïc
Hi,
I tried to run the project on an older version of Arduino IDE and it works fine. However, when tried on the latest version, it throws back an error saying i2s_read_bytes isn't defined in the scope. When I did some troubleshooting, I discovered i2s_read_bytes has been deprecated and replaces with i2s_read.
The problem I'm having is a "too few arguments" whenever the verification reaches the i2s_read function. I looked up the function definition and it has an extra parameter (size_t *bytes_read) compared to i2s_read_bytes. I'm not sure what should go in there?
Any help would be greatly appreciated
Regards, Ali
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.