[sdiy] Variable-rate drum sample playback

rsdio at audiobanshee.com rsdio at audiobanshee.com
Tue Jun 26 09:01:16 CEST 2018

Very cool. Nice to see something tangible come out of that thread.

Did you try dithering the 12-bit or 13-bit µ-Law decoded samples to 10-bit? instead of truncating?

You could try Uniform Distribution dither, or a Triangular Probability Distribution Function. Beyond that, you could even try spectrum shaping the dither to make it less audible. There are variable AES papers on the techniques that work best.

Just food for thought...


On Jun 25, 2018, at 2:06 AM, Tom Wiltshire <tom at electricdruid.net> wrote:
> 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:
> https://electricdruid.net/experiments-with-variable-rate-drum-sample-playback/
> 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.
> Tom

More information about the Synth-diy mailing list