beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
op id:023d1e35-1231-4c50-a044-4a0e63609ba5
triggers when a key is pressed

summary (oneliner)

Triggers every time a key has been pressed inside the preview panel. Click inside the preview panel and hit a key, you will then see the Key Code change. KeyPress uses the Character key codes, an a e.g. will result in the key code 97.

doc

youtube id

op collections: hardware  

collections

relatedops:  

related ops

Inputs

Outputs

on press (Function)

Triggers every time a keyboard key has been pressed (when focus is on the canvas / preview panel).


key code (Number)

The key code for the last pressed key


Char (Number)

Keyboard Synth Play Example:

Click in the canvas one to set focus, then use your computer keyboard to play the FmSynth



Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using KeyPress

Public Patches using KeyPress