Méthode | Description | |
---|---|---|
Close ( ) : void |
Closes this output device.
|
|
Open ( ) : void |
Opens this output device.
|
|
SendControlChange ( Channel channel, Control control, int value ) : void |
Sends a Control Change message to this MIDI output device.
|
|
SendNoteOff ( Channel channel, Pitch pitch, int velocity ) : void |
Sends a Note Off message to this MIDI output device.
|
|
SendNoteOn ( Channel channel, Pitch pitch, int velocity ) : void |
Sends a Note On message to this MIDI output device.
|
|
SendPercussion ( Percussion percussion, int velocity ) : void |
Sends a Note On message to Channel10 of this MIDI output device. This is simply shorthand for a Note On message on Channel10 with a percussion-specific note, so there is no corresponding message to receive from an input device. |
|
SendPitchBend ( Channel channel, int value ) : void |
Sends a Pitch Bend message to this MIDI output device.
|
|
SendProgramChange ( Channel channel, Instrument instrument ) : void |
Sends a Program Change message to this MIDI output device. A Program Change message is used to switch among instrument settings, generally instrument voices. An instrument conforming to General Midi 1 will have the instruments described in the Instrument enum; other instruments may have different instrument sets. |
|
SendSysEx ( Byte data ) : void |
Sends a System Exclusive (sysex) message to this MIDI output device.
|
|
SilenceAllNotes ( ) : void |
Silences all notes on this output device.
|
|
UpdateInstalledDevices ( ) : void |
Refresh the list of input devices
|
Méthode | Description | |
---|---|---|
CheckNotOpen ( ) : void |
Throws a MidiDeviceException if this device is open.
|
|
CheckOpen ( ) : void |
Throws a MidiDeviceException if this device is not open.
|
|
CheckReturnCode ( Win32API rc ) : void |
Makes sure rc is MidiWin32Wrapper.MMSYSERR_NOERROR. If not, throws an exception with an appropriate error message.
|
|
MakeDeviceList ( ) : Midi.OutputDevice[] |
Private method for constructing the array of MidiOutputDevices by calling the Win32 api.
|
|
OutputDevice ( |
Private Constructor, only called by the getter for the InstalledDevices property.
|
public SendControlChange ( Channel channel, Control control, int value ) : void | ||
channel | Channel | The channel. |
control | Control | The control. |
value | int | The new value 0..127. |
Résultat | void |
public SendNoteOff ( Channel channel, Pitch pitch, int velocity ) : void | ||
channel | Channel | The channel. |
pitch | Pitch | The pitch. |
velocity | int | The velocity 0..127. |
Résultat | void |
public SendNoteOn ( Channel channel, Pitch pitch, int velocity ) : void | ||
channel | Channel | The channel. |
pitch | Pitch | The pitch. |
velocity | int | The velocity 0..127. |
Résultat | void |
public SendPercussion ( Percussion percussion, int velocity ) : void | ||
percussion | Percussion | The percussion. |
velocity | int | The velocity 0..127. |
Résultat | void |
public SendPitchBend ( Channel channel, int value ) : void | ||
channel | Channel | The channel. |
value | int | The pitch bend value, 0..16383, 8192 is centered. |
Résultat | void |
public SendProgramChange ( Channel channel, Instrument instrument ) : void | ||
channel | Channel | The channel. |
instrument | Instrument | The instrument. |
Résultat | void |
public SendSysEx ( Byte data ) : void | ||
data | Byte | The message to send (as byte array) |
Résultat | void |
public static UpdateInstalledDevices ( ) : void | ||
Résultat | void |