Guitar pedal - alter frequency

Throwing an idea around, curious about plausibility or approach...

Avid Arduino hobbyist programmer on lots of different chips.
Getting back into guitar.
Not limited to one kind, or even one microcontroller.

I am interested in trying something different from filtering, distortion, etc. by seeing what can be done between ADC and DAC, in the supposed form/use as a guitar pedal. Unfortunately for me, I don't have any experience with dealing with digital samples.

I imagine something fast, like ESP-32 as one or more devices pulling the hard work in the chain, and I imagine I can alter the sound in the middle, as digital-with programming-but have no idea if this is feasible. There may be more things possible worth DSP in this way, but I am initially looking at something that can be done mostly in code to alter the sound.

Perhaps varying frequency from input to output is too ambitious, but it would seem that once I got the samples in digital format, a lot of fast processing should be possible-even simple bit shifting, but I have no clue.

Just general thoughts on something like this are appreciated...

TIA!

Teensy has a DSP library, but I don't know if it can process an input signal.
Video with Teensy and DSP: https://www.youtube.com/watch?v=H_goBPEG4J8

1 Like

Disclaimer - Although I know a lot about audio and I've done a fair amount of programming, I've never done any audio programming.

The Audacity website has a little Introduction to digital audio. (Nothing about DSP.)

And there is a FREE online DSP book.

Generally this kind of thing (pitch shifting) is done with FFT. There are FFT libraries but I'm not sure if they are for the ESP32.

1 Like

I did this for a voice but you can use it on a guitar input if you like.

1 Like

Check out this site.

They have guitar pedal designs with several different microcontrollers. Somewhere in their forum there were also sample programs that perform certain effects on the sound of a guitar.

1 Like

Thanks, @DVDdoug ...there are ESP-32 libraries for FFT. I made a simple 16ch spectrum analyzer once for a mini OLED display years back (6+). I use Audacity to do final mix/effects with the multi-channel output of my R0DE mixers. It's the sampling part I never tried...

@flashko it seems they are out of everything. Can't tell if they are still a business...

:frowning:

With fast computers and lots of memory It is possible to do just about anything you can imagine with digitized audio signals, including changing pitch (trivial), synthesizing entire instruments, encrypting voice signals, etc.

But Arduino MCUs are generally not suitable platforms for doing anything with audio. For that reason, this forum is far from the best place to post vague questions about music signal processing.

Raspberry Pi processors and associated forums would be a better place to look, as they can take the advantage of decades of advanced DSP development and solid open source code libraries.

However, there are schematics with explanations and maybe you could at least borrow an idea or maybe make your own board.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.