[chuck-users] Using typing keyboard for playing
signal.automatique at gmail.com
Wed Apr 15 07:24:48 EDT 2009
2009/4/15 Hans Aberg <haberg at math.su.se>
> I want to be able to play from the typing keyboard - the idea is that a
> note of specific frequency should be sounded as long as the key is held
> down. (Typically in an generalized diatonic key layout.)
> So can this playing functionality be achieved somehow?
Yes. The general "Hid" object can also open a keyboard device (which is
just another hid device). that interface is a lot more versatile, supports
signals for releasing the keys and isn't affected by keyboard repeat rate as
you're just reading the device directly.
The directory of Hid examples in the examples dir that came with your
download will have a example or two doing more or less what you want, you'll
be able to edit it for the scale and layout that you want with sounds of
Hope that helps,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users