C# Class Midi.ProgramChangeMessage

Program Change message.
Inheritance: ChannelMessage
显示文件 Open project: jstnryan/midi-dot-net

Public Methods

Method Description
MakeTimeShiftedCopy ( float delta ) : Message

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

ProgramChangeMessage ( Midi.DeviceBase device, Channel channel, Instrument instrument, float time ) : System

Constructs a Program Change 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

ProgramChangeMessage() public method

Constructs a Program Change message.
public ProgramChangeMessage ( Midi.DeviceBase device, Channel channel, Instrument instrument, float time ) : System
device Midi.DeviceBase The device associated with this message.
channel Channel Channel.
instrument Instrument Instrument.
time float The timestamp for this message.
return System

SendNow() public method

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