2009/2/7 Atte André Jensen
I've written a sampler class that simplifies various things, that I found I have to re-invent over and over again: * Polyphony, with dynamic voice allocation (stealing of oldest note) * Optional envelope * Automatic handling of stereo samples * Supports multi-samples (zones)
I tried to make it easy to use and flexible enough to work with simple one-shot drums and polyphonic, multi-sampled, enveloped samples (strings, piano, etc).
I'm gonna add build-in midi support + support for more code like length based triggering.
Have anyone done something similar? Any interest in me posting it on http://wiki.cs.princeton.edu/index.php/Chuck/Lib when it's more thoroughly tested?
It'd be great if you could post that! My own polyphony implementation is rather sketchy, since I have yet to figure out how to do it well. -- Tom Lieber http://AllTom.com/