adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4.07k stars 1.2k forks source link

Audio: Extensions to allow visualizations e.g., FFT #1429

Open rhooper opened 5 years ago

rhooper commented 5 years ago

There are so many cool examples for the Trellis M4, but unfortunately a good number of them depend on Arduino libraries. Having FFT support of some kind in CircuitPython (M4 only) would really rock so we can do some form of streaming audio visualization on M4 boards from CircuitPython directly. I'm sure there's plenty of other applications too.

tannewt commented 5 years ago

This can fit into the audioio pipeline as a sink. Then one can read the values from the object in CircuitPython.

ladyada commented 4 years ago

@rhooper please try https://github.com/adafruit/circuitpython/pull/2583 - i think its the best general-purpose solution for FFT needs :) https://blog.adafruit.com/2020/02/04/its-fft-tuesday-testing-out-mic-fft-on-circuitpython-circuitpython-adafruit-fft/

jepler commented 4 years ago

Should we close this with the merge of ulab, or leave it open but retitle to say it's about enhancements to the audio pipeline?

dhalbert commented 4 years ago

@jepler Either is fine with me. Either retitling, or if you think parts of this are not relevant, then a new issue is fine too, with a pointer back to here. The main point is just still to track the to-do.