[chuck-users] Using typing keyboard for playing

Hans Aberg haberg at math.su.se
Wed Apr 15 07:35:38 EDT 2009


On 15 Apr 2009, at 13:24, Kassen wrote:

> 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.)
>
> Sounds good!

I have used it in Scala for about a year, mostly in E31 (close to  
Renaissance extended meantone). The new Apple flat mini-keyboard (with  
USB chord) is good for this purpose. Rapid melodic movements and  
ornaments are possible :-).

> 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 your choice.
>
> Hope that helps,

Hope, so too :-). I have something to go for.

   Hans




More information about the chuck-users mailing list