HISE Docs

Keyboard

A highly customizable virtual MIDI keyboard. To change the key colours, see Engine.setKeyColour() .

ID Default Value Description
Font Oxygen Bold Set the font type.
FontSize 14.0 Set the font size.
CustomGraphics false If true, it looks in the{IMAGE_FOLDER} Images/keyboard/ for keyboard imagefiles called up_0.png ... to up_11.png and down_0.png to down_11.png. The files have to be present to render the whole keyboard.
KeyWidth 14 Set the width of the keys.
LowKey 9 The lowest visible key as MIDI note number (C2 = 48).
HiKey 127 Set the highest key to display - no need to change that actually :)
BlackKeyRatio 0.7 Change the relative height of the black keys
DefaultAppearance true Set this to false to use custom graphics
DisplayOctaveNumber false Show the OctaveNumbers C-2 - C7 on each C key
ToggleMode false Set to true, to let the keys stick down.
MidiChannel 1 Connect the keyboard to a MidiChannel, defaults to 1
MPEKeyboard false If the MPE mode is enabled, this keyboard will show a MPE style keyboard with multi touch support.
MPEStartChannel 2 Set the MPE Start Channel
MPEEndChannel 16 Set the MPE End Channel
UseVectorGraphics true Toggle between the (old) filmstrip and the new vector based keyboard
UseFlatStyle false If VectorGraphics are activated you can change this value for a flat keyboard