Skip to content

Provide FFT example with option to connect to I2S (INMP441) input #116

@timbo100

Description

@timbo100

Is your feature request related to a problem?

I have been struggling, I apologize, trying to figure out how to match up my I2S input from an INMP441 mic to work with the FFT example (any esp-dsp FFT example!).

I do not develop in Arduino and would not like to ramp down to that at this point.

I have found examples that show how to setup the esp-idf I2S interface and used it to sample sound (I'm trying to detect a tone at a specific frequency) and my data plot is reasonable.

I have run the FFT examples in esp-idf but they generate a artificial data that is not documented.

Please point out or construct an example that shows how hook in an I2S mic: type of structure to be returned with samples, and relationship to size of structure, samples number, etc.

I have modified several example but with my I2S/INMP441 input but the FFT results are invalid.
For example: https://github.com/EfesX/esp32-inmp441-fft-ssd1306 (removed ssd1306 stuff)

Thanks

Describe the solution you'd like.

No response

Describe alternatives you've considered.

No response

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions