Fourier Series Based Waveform Generator

Jesse Meijer's icon

Hey Guys,

Thought I'd share this idea. I'm definitely not the best at math so probably this patch has room for improvement and might not be as pure as can be, but I used the formulas of the Fourier series to create an oscillator that can glide between saw/triangle/sine/square in an infinite cycle.

Thought it could be a cool building block for some synthesis.

Cheers!

waveshaper_project.maxpat.zip
application/x-zip-compressed 7.03 KB

Jesse Meijer's icon

if someone knows how to solve the problem of shifting the tip of the triangle into a sawtooth, I think it will sound way better.

found this, but my brain is starting to hurt:
https://mathworld.wolfram.com/FourierSeriesTriangleWave.html Also I haven't figured out how to create a triangle wave without having to use a cosine.

Jesse Meijer's icon

waveshaper_project.maxpat.zip
application/x-zip-compressed 7.03 KB

finished it for as far as i can see. along the way i found the 2d wave and learned that i should learn more about pfft but i was in it so whatever. cheers!