Sorry to say I am using ESP-IDF instead of the Arduino IDE for the ESP32-A1S, but here's what I've accomplished. a) 2 sawtooth oscillators into two LPFs with LFOs on them, plus and ef.echo() of about 150 msec. b) A flanger. I've also got wifi setup working, hoping maybe OSC would work.
Going much beyond that results in several different types of errors, depending on what you did. I don't think the AI Thinker audio dev board has any ADC GPIO inputs coming out on the headers, for example to attach a pot for some parameter control. The choppy sound you are getting sounds to me like what happens when I try to get "too much" out of the ESP32. Looking at the serial monitor, you'll see messages indicating watchdog timer reset. It's not clear to me how much further the Faust generated code can be optimized to get more processing out of the ESP32. The examples which show use of the external RAM to hold a large os.osc() table unfortunately don't appear to be generally applicable. I was able to create an ef.echo() with about 150 msec delay before I started getting execution errors. The changes to the C++ code indicated for os.osc() are not the same as when making an ef.echo(). So, unless someone chimes in with some better news, I don't think the ESP32 is a very powerful platform for Faust. I'd love to be wrong though! I'm still going to see if I can get things working under Faust with OSC, if that becomes available. GW On Mon, Apr 6, 2020 at 7:57 AM Roland Nebe <[email protected]> wrote: > Hey everyone, > > first of all, thank you everyone who responded to our mail below. Hope all > are healthy and in good spirit despite #stayathome. > > We opted for a Teensy 3.6 and Teensy 4.0 because we had those at hand, and > they're great fun! Some of the results: > https://www.instagram.com/p/B-cb1rKKUQd/ > https://www.instagram.com/p/B-oVKLxKuKK/ > > > Meanwhile, two Ai Thinker ESP32 audio kit showed up, the one pictured here > with the A1S codec. > https://faust.grame.fr/doc/tutorials/#dsp-on-the-esp32-with-faust > > > We were able to compile and run the example by Ivo Pullens as found here: > https://platformio.org/lib/show/6755/AC101 > > However if we drop in a Faust library, we only get distorted sound (very > fast chops like not fast enough to write the buffer). > > > *Does anyone have (a link to) a working example for Arduino, using that > board?* > Just executing the standard sawtooth example? > > > That would be super helpful! > > > Thank you for your help, stay sane and safe and all the best > > Roland > > > > Am 2020-03-25 17:06, schrieb Roland Nebe: > > Hey everyone, > > > First post - hope you are all well and healthy and are in good spirits > despite #stayathome times. > > Just getting into Faust and very much into electronics and modular > shenanigans: https://www.instagram.com/makingsoundmachines/ > > > *What is in your opinion the best MCU based hardware option to run Faust > on?* > > > We've had some success with Faust and the Teensy 3.6 + Audio Shield, being > able to run > - the Additive Synth sketch x2 = 16 oscrs 2 ADSR 2 resonant LP filters > - a poly version of the bandlimited saw = 8 sawtooth 8 adsr 8 resonant LP > filters > > but there are equally as many tries when a simple sketch is too CPU > intense (e.g. a 4 voice Poly Additive Synth) and just wont run. > > > The big idea would be to design own cirtcuitry / PCBs e.g. CV Control > around a MCU that runs a simple-ish Faust sketch (Similar to the RT OWL but > more specific to a single concept). > > > We have experince with some STMs and the Cube IDE, and all kinds of > Arduino based stuff. > > We haven't been able to get our hands on a Teensy 4.0. How big is the > improvement? > We haven't yet looked into the ESP 32 - is this the preferred route to go? > > > Very much look forward to hear about your experiences with this. Any hints > and pointers are welcome. > > > All the best > > Roland > > > > -- > Roland Nebe > Flurstr. 68 > D-40235 Düsseldorf > > facebook.com/roland.nebe > > > -- > Roland Nebe > Flurstr. 68 > D-40235 Düsseldorf > > +49 211 24790287 > +49 171 1211162 > +49 177 1810806 > > [email protected] > > facebook.com/roland.nebe > facebook.com/warpedtype > > http://www.groovelastig.de/ > _______________________________________________ > Faudiostream-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/faudiostream-users >
_______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
