I hate chiptune FYI
Need to implement declicking, also forgot what the global sample-rate variable was though. I'm tired, I just wanna make music and learn more about effects and filters but I can only use my phone ATM. It would be great if you could load samples of any audio format (takes time to reconstruct them within the script itself if you're gonna avoid loading external files, there are different methods (e.g. FM, spectral) that suit different sounds (e.g. periodic waves, vocal peaks, harmonic bells, noise drums)).