C# Class Midi.NoteOnMessage

Note On message.
Inheritance: NoteMessage
Mostrar archivo Open project: jstnryan/midi-dot-net Class Usage Examples

Public Methods

Method Description
MakeTimeShiftedCopy ( float delta ) : Message

Returns a copy of this message, shifted in time by the specified amount.

NoteOnMessage ( Midi.DeviceBase device, Channel channel, Pitch pitch, int velocity, float time ) : System

Constructs a Note On message.

SendNow ( ) : void

Sends this message immediately.

Method Details

MakeTimeShiftedCopy() public method

Returns a copy of this message, shifted in time by the specified amount.
public MakeTimeShiftedCopy ( float delta ) : Message
delta float
return Message

NoteOnMessage() public method

Constructs a Note On message.
public NoteOnMessage ( Midi.DeviceBase device, Channel channel, Pitch pitch, int velocity, float time ) : System
device Midi.DeviceBase The device associated with this message.
channel Channel Channel, 0..15, 10 reserved for percussion.
pitch Pitch The pitch for this note message.
velocity int Velocity, 0..127.
time float The timestamp for this message.
return System

SendNow() public method

Sends this message immediately.
public SendNow ( ) : void
return void