converting humming in the I2S microphone to the correct midi stream #165
-
I was wondering if it is possible to sing ( hum ) in the I2S microphone and have this converted in real time to a midi stream with the correct ( or adjusted to the nearest note ) pitch and amplitude.... I see only one example mentioning FFT but it says // WARNNG: This sketch is too big to fit on an ESP32 ! Does the framework offers solutions for FFT? ( ESP32 or RP ) Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
My gut feeling is that it should be possible using FFT. Currently this library does not provide any automatic integration, but this should be quite easy to implement. Maybe someone else might recommend a library ? (There are plenty to choose from...) You can use the VolumePrint class to determine the volume. |
Beta Was this translation helpful? Give feedback.
-
I have added some new simple FFT functionality. I also added an entry to the Wiki ps. I just added some addtioinal methods to the MusiclNotes to determine the midi note from the frequency... |
Beta Was this translation helpful? Give feedback.
I have added some new simple FFT functionality.
An example can be found here.
I also added an entry to the Wiki
ps. I just added some addtioinal methods to the MusiclNotes to determine the midi note from the frequency...