Class MIDINoteMessage

All Implemented Interfaces:
Iterable<MIDINoteMessage>

public class MIDINoteMessage
extends Struct<MIDINoteMessage>
  • Constructor Details

    • MIDINoteMessage

      public MIDINoteMessage()
    • MIDINoteMessage

      public MIDINoteMessage​(byte channel, byte note, byte velocity, byte releaseVelocity, float duration)
  • Method Details

    • getChannel

      public byte getChannel()
    • setChannel

      public MIDINoteMessage setChannel​(byte channel)
    • getNote

      public byte getNote()
    • setNote

      public MIDINoteMessage setNote​(byte note)
    • getVelocity

      public byte getVelocity()
    • setVelocity

      public MIDINoteMessage setVelocity​(byte velocity)
    • getReleaseVelocity

      public byte getReleaseVelocity()
    • setReleaseVelocity

      public MIDINoteMessage setReleaseVelocity​(byte releaseVelocity)
    • getDuration

      public float getDuration()
    • setDuration

      public MIDINoteMessage setDuration​(float duration)