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
파일 보기 프로젝트 열기: jstnryan/midi-dot-net

공개 메소드들

메소드 설명
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