Interface PianoKeyboard

All Superinterfaces:
HardwareElement

public interface PianoKeyboard extends HardwareElement
Represents a physical piano keyboard on a HardwareSurface.
  • Method Details

    • setMidiIn

      void setMidiIn(MidiIn midiIn)
      The MidiIn where this piano keyboard would send key presses. If set this allows the simulator for the hardware to simulate the note input.
    • setNoteInput

      void setNoteInput(NoteInput noteInput)
      Sets the NoteInput that 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)