I’m attempting to build a delay pedal that does only one thing: when you stomp the button, it plays back 30 seconds of high quality audio from 30 seconds ago.
I think it would need to be continuously overwriting some type of eeprom array. Does anyone have any advice?
I bought a few Teensy audio shields to try and prototype it. But I obviously need to understand how to achieve such a continuous rewrite on EEPROM or some other form of quick rewrite memory.
If someone could guide me to the right information, I’d be most grateful.
Have you looked at the audio libraries that are available?
https://www.pjrc.com/teensy/td_libs_Audio.html
That content seems old but maybe it’ll help or at least provide some direction. Personally I’ve only done predetermined audio file playback with a button press, but constant recording sounds like something that would be possible. True constant rewriting on the EEPROM is from what I understand not the best idea because of how quick you’d wear it out. A fast sd card might be the ticket there. Good luck, it sounds like a fun project!
I did look it over very thoroughly.
The way to skin this cat is to find a way to rewrite large banks of memory. Their library is amazing but I think writing their onboard microSD card is about as close as I could get with stock Teensy hardware.
I think I’ll see if Paul S from Teensy would chat on the phone. Edit: he pushed me to their forum. 🫤 super sweet guy!
By my estimation, what I actually need is a circuit board or a IC packed with EEPROM that can write in a continuously-cascading fashion. A very interesting puzzle that I had yet to encounter until I had this idea for sure!
I bought a cheap IC that does low quality audio but it’s just not the same. It needs to be pristine quality audio. So, I’m guessing that I’m looking for the ability to encode and decode 16bit 44.1 kHz quality audio on the fly.