![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: Qwerty control in Kyma? |
JonBellona Member |
![]() ![]() ![]() Hello, I'm mapping out a Kyma Tool project on paper. All I'm looking to do is take the numbers on the Qwerty keyboard (0-9) to update a variable (variable could be used for program changes, play sample number, etc.). I see that the mouse in a Tool is controlled with "controller sensor cursorPoint". Is there Capytalk reference to the Qwerty keys??? I am already able to utilize this type of control inside Max/MSP and then send these values over OSC. I was thinking of keeping the control in Kyma in order to save on setup time and number of software connections. I also wanted to learn the ins/outs of creating a Kyma Tool with, what I think, is a basic project. I have a wireless number keypad I would like to use for performance, so this type of control seems useful. I just rather not have to always use Max to port to Kyma via OSC. Anyone know of smalltalk/Capytalk to reference Qwerty keys?? "controller sensor keyboard"??? Best IP: Logged |
SSC Administrator |
![]() ![]() ![]() There's a special Global variable you can use in the Tool called LastCharacterTyped. If you declare that as an Object and set its initial value to $a, then you can make decisions based on whichever character is typed on the computer keyboard by testing for equality to that character. Hope that's enough to get things started. Let us know if you run into any more questions along the way. Thanks! IP: Logged |
JonBellona Member |
![]() ![]() ![]() Thanks SSC! I've got my Kyma Tool working with a Qwerty Keyboard, and I just finished a blog post about the process. http://jpbellona.com/qwerty-keyboard-as-kyma-tool-controller/ From this link, anyone will be able to download the Kyma Tool and turn their computer keyboard into a Kyma controller! (discrete controller that is) Thank you! IP: Logged |
SSC Administrator |
![]() ![]() ![]() Thanks for sharing the result, Jon! IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.