BASS.NET API for the Un4seen BASS Audio LibraryMidiShortMessageMessage Property BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the constructed Midi message value.

Namespace: radio42.Multimedia.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public int Message { get; set; }

Property Value

Type: Int32
Remarks

If a MIDI method requires an IntPtr instead on an Int32 value, please use the MessageAsIntPtr property.

This property will get or set all relevant bytes: Status, Data1, Data2 and Data3.

Examples

Sending a short message:
VB
' construct a message
Dim msg As New MidiShortMessage(MIDIStatus.NoteOn, channel, note, velocity, 0, 0)
' send the message
Dim result As Integer = MIDI_OutShortMsg(handle, msg.Message)
// construct a message
MidiShortMessage msg = new MidiShortMessage(MIDIStatus.NoteOn, channel, note, velocity, 0, 0);
// send the message
int result = MIDI_OutShortMsg(handle, msg.Message);
See Also

Reference