[chuck-users] kbpiano

Scott Wheeler wheeler at kde.org
Mon Aug 6 08:04:13 EDT 2007


Stephen Sinclair wrote:
> Note that it's not quite an up-to-scratch implementation of polyphony,
> since there is only a single event structure that will get overwritten
> by the next key press. [...]

I've got a (trivial, demo) synth here that handles polyphony from MIDI 
input.  You could use a similar model to handle polyphony from keyboard 
events if you felt like it.  One difference is that there wouldn't be 
any reason to spork the handlers (as is done with noteOn() and 
noteOff()) since they'd take a trivial amount of time.

http://developer.kde.org/~wheeler/files/polysynth.ck

-Scott


More information about the chuck-users mailing list