Simple echo effect using Faust on ESP32 board.
Follow this tutorial.
- First lets convert
FaustEcho.dsp
toFaustEcho.cpp
./faust.sh
- Now we need a manual step. In
FaustEcho.cpp
we need to movefRec8
frommydsp
class to the global scope, make it static and add EXT_RAM_ATTR to it, so that it becomes:
static float fRec8[262144] EXT_RAM_ATTR;
class mydsp : public dsp {
// ...
}
- Flash the micro controller:
./flash
- https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html
- espressif/arduino-esp32#595 (comment)
- possibly add a pot or use buttons to control volume