[chuck-users] sample player class

Tom Lieber lieber at princeton.edu
Sat Feb 7 14:37:18 EST 2009

2009/2/7 Atte André Jensen <atte.jensen at gmail.com>:
> 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

More information about the chuck-users mailing list