Package org.robovm.apple.audiotoolbox
Class MIDINoteMessage
- All Implemented Interfaces:
Iterable<MIDINoteMessage>
public class MIDINoteMessage extends Struct<MIDINoteMessage>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMIDINoteMessage.MIDINoteMessagePtr -
Constructor Summary
Constructors Constructor Description MIDINoteMessage()MIDINoteMessage(byte channel, byte note, byte velocity, byte releaseVelocity, float duration) -
Method Summary
Modifier and Type Method Description bytegetChannel()floatgetDuration()bytegetNote()bytegetReleaseVelocity()bytegetVelocity()MIDINoteMessagesetChannel(byte channel)MIDINoteMessagesetDuration(float duration)MIDINoteMessagesetNote(byte note)MIDINoteMessagesetReleaseVelocity(byte releaseVelocity)MIDINoteMessagesetVelocity(byte velocity)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
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
-
getNote
public byte getNote() -
setNote
-
getVelocity
public byte getVelocity() -
setVelocity
-
getReleaseVelocity
public byte getReleaseVelocity() -
setReleaseVelocity
-
getDuration
public float getDuration() -
setDuration
-