Spandex Home - Spandex/RadioMusic GitHub Wiki
I've forked this so I can have a play and learn about how it works. I'm going to start by trying to optimise the code a bit as I think this will force me to understand it properly. You're probably better off going for the original TomWhitwell/RadioMusic.
Changes so far:
- Made the ResetCV input use an interrupt. It was using Bounce2 to debounce the input. I've made it use an interrupt on the rising edge as I figure debounce was likely more useful during testing (e.g. with a button) rather than live use. This seems to have improved the speed and reliability of resets slightly.
Ideas/Todo:
- Understand what it's precomputing/cacheing and if there's any storage still available for optimisation.
- Understand how the time + CVDivider interact and see I can precompute zero crossing points and lock to those??
- Try implementing a different mode where the StationCV is used to control the playback speed?
- I dunno. See what I find :)