MHexPad:
Filter:
Modality-toolkit/Classes (extension) | GUI

MHexPad
ExtensionExtension

extends MPadView for Hexagonal and round pads

Description

MHexPad and MRoundPad allow more different shapes and behaviors than its superclass, MPadView.

First code examples:

Instance Methods

.upDoesAction

Arguments:

bool

get and set flag whether mouseUp also triggers the pads action or not. this allows using noteOn with value 1-127, and noteOn with value 0 to signal note end (which is the standard the Manta uses).

.angle

rotate the pad by an angle

.ledColors

get and set the colors to use for the led display

.ledVal

get and set the value which led color to show.

.hexColor

the color for the background hexagon shape.