AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hi!I'm a software engineer by trade and have recently started writing a wavetable synth as a hobby project in rust. I was hoping to get some help / guidance on any misunderstandings I might be having. The code is here https://github.com/Ch0ronomato/wavetabl ... dfdd2209b8 (https://github.com/Ch0ronomato/wavetablers/commit/cf4bb0b584163be1a27f7dfe5c8888dfdd2209b8)
I was attempting to try to "embed" a square wave into my code, but only using 0 and 1 in this case (non-fouier) because I want to understand why we would need to to use fourier series instead. This code does work, it produces a pretty harsh sound at roughly 440hz, but I'm still confused on some things. I felt like this site https://www.music.mcgill.ca/~gary/307/w ... ables.html (https://www.music.mcgill.ca/~gary/307/week4/wavetables.html) helped describe some of the terms, but I'm still confused.
When you take some wave stored in a wavetable, and you want to produce that sound at a pitch, are you essentially going through the wavetable at a certain iteration speed? (That's how I understood this article). If so, how does this change when you're doing multiple notes?
Sorry if it's newby