Giter Club home page Giter Club logo

esp32_soundrecorder's People

Contributors

ligantx avatar mhagegh avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32_soundrecorder's Issues

Stereo version

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

const int waveDataSize = record_time * 88000;

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?

using INMP441 microphone

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

rx NULL error

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 ?

Is it possible to add a RTC module?

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.

record to flash / meaning of the loop

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?

esp32 s2 with mic and sdcard

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

Zip file is not add to the Arduino ide library

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

Deprecated i2s_read_bytes function

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.