[sdiy] Variable-rate drum sample playback

Tom Wiltshire tom at electricdruid.net
Mon Jun 25 11:06:47 CEST 2018

There was a discussion recently about drum sample playback that got me inspired to have a play with it. I was asking about the u-Law DAC here as well, but in the end, I didn’t bother, at least not yet. I wrote up my experiment on my website:


What I found quite cool was that it’s possible to get three separate samples *each with their own variable sample rate* into a single PIC. That’s not half bad!
That’s using 4K samples and a 16K chip (so three samples leaves 4K for code). That means the 8K samples for things like the Ride cymbal would probably need a chip of their own - but still, you can wrap up the sample memory, the DAC, and the VCO that clocks it all onto a single chip.

Hope you like it. I don’t know whether I’ll take the experiment any further - maybe one day.


       Electric Druid
Synth & Stompbox DIY

More information about the Synth-diy mailing list