C# Class Midi.PercussionMessage

Percussion message.
A percussion message is simply shorthand for sending a Note On message to Channel10 with a percussion-specific note. This message can be sent to an OutputDevice but will be received by an InputDevice as a NoteOn message.
Inheritance: DeviceMessage
Afficher le fichier Open project: jstnryan/midi-dot-net

Méthodes publiques

Méthode Description
MakeTimeShiftedCopy ( float delta ) : Message

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

PercussionMessage ( Midi.DeviceBase device, Percussion percussion, int velocity, float time ) : System

Constructs a Percussion message.

SendNow ( ) : void

Sends this message immediately.

Method Details

MakeTimeShiftedCopy() public méthode

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

PercussionMessage() public méthode

Constructs a Percussion message.
public PercussionMessage ( Midi.DeviceBase device, Percussion percussion, int velocity, float time ) : System
device Midi.DeviceBase The device associated with this message.
percussion Percussion Percussion.
velocity int Velocity, 0..127.
time float The timestamp for this message.
Résultat System

SendNow() public méthode

Sends this message immediately.
public SendNow ( ) : void
Résultat void