BASS.NET API for the Un4seen BASS Audio LibraryMidiSysExMessageMessageWrite16Wave Method (Int32, Int32)BASS.NET API for the Un4seen BASS Audio Library
Writes a 24-bit waveform value (4 bytes) to the Message data buffer (left-justified).

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

public void MessageWrite16Wave(
	ref int offset,
	int value


Type: SystemInt32
The zero-base offset (index) of the Message data buffer where to start writing (the offset will be automatically be increased by the number of bytes written).
Type: SystemInt32
The int value (between -8388608 and 8388607) to write to the given position representing the waveform point.

You first need to initialize the Message data buffer with CreateBuffer(Int32) before being able to write to the buffer.

Do not call this method after you have prepared the message with Prepare, since after calling Prepare this method would have no effect.

See Also