BASS.NET API for the Un4seen BASS Audio Library

MidiShortMessageMessage 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.17.5
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:
// 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