--- update --- Added cat sound controlled by sample as volume, and the space bar is now a sound gate, so you'kl have to hold it to let sound through. -- Bitcrusher algorithm: bitcrush: output = round(input / bitcrush) * bitcrush downsampling: if(downsampling timer > downsampling) downsampled output = input else downsampling timer += 1 This just gets the new sample every time we hit every downsampling rate time. Blue is microphone sample input, red is the sample output. There's also delay feedback. For an arduino due guitar pedal FX. I will soon add a bitcrush FX as well, and then port the prototype code over to the arduino IDE into its C++ variant. Delay time doesn't quite change the pitch of the audio when u change it, like how it's usually done, so gotta figure out how to do that. I used to make VST plugins, and I followed a few of this guy's tutorials before I realized how it all works, but now I do: https://www.youtube.com/watch?v=IRFUYGkMV8w&list=PLLgJJsrdwhPxa6-02-CeHW8ocwSwl2jnu&index=43