C# Class MidiSharp.Events.Voice.ControllerVoiceMidiEvent

MIDI event to modify the tone with data from a pedal, lever, or other device; also used for miscellaneous controls such as volume and bank select.
Inheritance: MidiSharp.Events.Voice.VoiceMidiEvent
ファイルを表示 Open project: ianespana/Wintergatan-Laser-MIDI

Private Properties

Property Type Description

Public Methods

Method Description
ControllerVoiceMidiEvent ( long deltaTime, byte channel, Controller number, byte value ) : System

Initialize the Controller MIDI event message.

ControllerVoiceMidiEvent ( long deltaTime, byte channel, byte number, byte value ) : System

Initialize the Controller MIDI event message.

DeepClone ( ) : MidiEvent

Creates a deep copy of the MIDI event.

ToString ( ) : string

Generate a string representation of the event.

Write ( Stream outputStream ) : void

Write the event to the output stream.

Method Details

ControllerVoiceMidiEvent() public method

Initialize the Controller MIDI event message.
public ControllerVoiceMidiEvent ( long deltaTime, byte channel, Controller number, byte value ) : System
deltaTime long The delta-time since the previous message.
channel byte The channel to which to write the message (0 through 15).
number Controller The type of controller message to be written.
value byte The value of the controller message.
return System

ControllerVoiceMidiEvent() public method

Initialize the Controller MIDI event message.
public ControllerVoiceMidiEvent ( long deltaTime, byte channel, byte number, byte value ) : System
deltaTime long The delta-time since the previous message.
channel byte The channel to which to write the message (0 through 15).
number byte The type of controller message to be written.
value byte The value of the controller message.
return System

DeepClone() public method

Creates a deep copy of the MIDI event.
public DeepClone ( ) : MidiEvent
return MidiEvent

ToString() public method

Generate a string representation of the event.
public ToString ( ) : string
return string

Write() public method

Write the event to the output stream.
public Write ( Stream outputStream ) : void
outputStream Stream The stream to which the event should be written.
return void