C# Class Midi.NoteOffMessage

Note Off message.
Inheritance: NoteMessage
显示文件 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.

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

Constructs a Note Off 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

NoteOffMessage() public method

Constructs a Note Off message.
public NoteOffMessage ( 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