C# Класс 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.
Наследование: DeviceMessage
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

MakeTimeShiftedCopy() публичный Метод

Returns a copy of this message, shifted in time by the specified amount.
public MakeTimeShiftedCopy ( float delta ) : Message
delta float
Результат Message

PercussionMessage() публичный Метод

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.
Результат System

SendNow() публичный Метод

Sends this message immediately.
public SendNow ( ) : void
Результат void