Interface PianoKeyboard
- All Superinterfaces:
HardwareElement
Represents a physical piano keyboard on a
HardwareSurface.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetChannel(int channel) voidsetIsVelocitySensitive(boolean value) voidTheMidiInwhere this piano keyboard would send key presses.voidsetNoteInput(NoteInput noteInput) Sets theNoteInputthat this keyboard should send notes to.voidsetSupportsPolyAftertouch(boolean value) Methods inherited from interface com.bitwig.extension.controller.api.HardwareElement
getHeight, getId, getLabel, getLabelColor, getLabelPosition, getWidth, getX, getY, setBounds, setLabel, setLabelColor, setLabelPosition
-
Method Details
-
setMidiIn
TheMidiInwhere this piano keyboard would send key presses. If set this allows the simulator for the hardware to simulate the note input. -
setNoteInput
Sets theNoteInputthat this keyboard should send notes to.- Since:
- API version 15
-
setChannel
void setChannel(int channel) -
setIsVelocitySensitive
void setIsVelocitySensitive(boolean value) -
setSupportsPolyAftertouch
void setSupportsPolyAftertouch(boolean value)
-