Author Topic: DSP on the ESP32, including Faust support  (Read 1571 times)

Digital Larry

DSP on the ESP32, including Faust support
« on: July 16, 2019, 04:52:35 PM »
Holy smokes!  I am definitely going to get one of these and add it to the pile of audio DSP dev boards I never did anything with.  Now that's not strictly true.  I did bend the FV-1 to my will.   As I am not a fan of low level programming, I am excited to see a Faust port for this as well.

https://faust.grame.fr/doc/tutorials/index.html#dsp-on-the-esp32-with-faust
Digital Larry
DSP tinkerer and former transistor twister

audioartillery

Re: DSP on the ESP32, including Faust support
« Reply #1 on: July 16, 2019, 11:17:07 PM »
Thatís pretty cool! I have a few ESP32 boards. Theyíre great for WiFi or Bluetooth stuff (currently struggling to get one doing WiFi and Bluetooth at the same time reliably).

The fact there are cheap boards with codecs, thatís pretty exciting.

dschwartz

Re: DSP on the ESP32, including Faust support
« Reply #2 on: August 21, 2019, 09:03:01 PM »
Those esp32 chips look interesting..
For what i researched, it looks more powerful than a stm32f4, and its arduino compatible..and have a lot of bells and whistles like touch sensors, Bluetooth, wifi, 520k sram, 400 MIPS, floating point , etc, etc..and the chip is like 3 bucks on mouser.
I wish it had better ADC resolution, though..but for a simple delay it could make wonders.

I wonder if the teensy dsp arduino code could be adapted for these.
----------------------------------------------------------
Tubes are overrated!!

http://dsmnoisemaker.blogspot.com

Re: DSP on the ESP32, including Faust support
« Reply #3 on: April 11, 2020, 09:08:31 AM »
Hi,
I'm new to this forum but I have done a bit of mods and electronics although it's been a while. Did some goofing off last few days with the Boss ns-2 to shorten the delay as has been posted elsewhere. (Has faster response like a ISP now, and some of the improved EQ)

You guys probably have the same ESP boards where you are. Ordering local (from Australia) I can get this one equiv of less then $20 US, probably closer to $10 - $15 for you guys since everything is expensive here :-
https://www.espressif.com/en/products/hardware/esp32-lyrat

20 years back I was an Electronics technician, but since then mostly been a software developer. Unfortunately I have not done any DSP work, Only boring database and searching stuff like everyone else :-)
From what little I have looked into it definitely looks like faust is the way to go. I have actually done plenty of C++ (C and assembly long ago). I certainly wouldn't want to be doing any DSP related coding without a decent library/platform. I'm guessing some of the boards mentioned above may be the same or similar. The specs on the ADC and DAC are 24 bit with 96 khz which are pretty comparable to good pedals. Although I doubt you would get the same S/N as the mass produced pedals would have very high standards for the Audio quality vs a development board. Still for a dev board it's pretty darn good. Whatever code / project could definitely be put into better hardware to get a top notch sound. Sorry for the rant, tempted to buy the board to goof of with it although it will be on my to do list. I just managed to put in 2 new pickups, and a blend control with a new cavity in my good guitar.

Cheers,
Wal
« Last Edit: April 11, 2020, 09:15:06 AM by MoruyaGuitarist »

Digital Larry

Re: DSP on the ESP32, including Faust support
« Reply #4 on: April 11, 2020, 09:59:40 AM »
....
You guys probably have the same ESP boards where you are. Ordering local (from Australia) I can get this one equiv of less then $20 US, probably closer to $10 - $15 for you guys since everything is expensive here :-
https://www.espressif.com/en/products/hardware/esp32-lyrat
....
Cheers,
Wal
Helloooo.... oooo.... ooooo....
 I have another thread on this forum detailing my initial attempts at using the AIThinker ESP32-A1S audio/wifi/bluetooth dev board.  It's similar to the LyraT.  I bought one of those too, I think it will arrive today.  Long story short, I got some small algorithms working, and some short delays, but Faust at the moment can't easily access the external RAM for longer delays.  My motivation at times though is less about making a pedal and more about learning some new thing, so that's what I'm doing on the ESP32 to some extent.  Trying to figure out how to piece together functional pieces from the examples and setting up tasks in freeRTOS.  You don't have to do that if all you want is to run a static Faust patch with no controls, but that's not very much fun.

I'll be interested what you come up with.

DL

Digital Larry
DSP tinkerer and former transistor twister