BASS.NET API for the Un4seen BASS Audio Library

BASS_MIDI_EVENT Structure

BASS.NET API for the Un4seen BASS Audio Library
Used with BASS_MIDI_StreamEvents(Int32, BASSMIDIEventMode, BASS_MIDI_EVENT, Int32) to apply events and BASS_MIDI_StreamGetEvents(Int32, Int32, BASSMIDIEvent, BASS_MIDI_EVENT) to retrieve events, and BASS_MIDI_StreamCreateEvents(BASS_MIDI_EVENT, Int32, BASSFlag, Int32) to play event sequences.

Namespace:  Un4seen.Bass.AddOn.Midi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[SerializableAttribute]
public struct BASS_MIDI_EVENT

The BASS_MIDI_EVENT type exposes the following members.

Constructors

  NameDescription
Public methodBASS_MIDI_EVENT
Constructor already setting the members.
Top
Methods

  NameDescription
Public methodStatic memberFromIntPtr
Converts an IntPtr as received in an MIDIFILTERPROC to a BASS_MIDI_EVENT.
Public methodToString
A description of the MIDI event object (event, param, chan, tick)
(Overrides ValueTypeToString.)
Top
Fields

  NameDescription
Public fieldchan
The MIDI channel of the event... 0 = channel 1.
Public fieldeventtype
The event type (see BASSMIDIEvent).
Public fieldparam
The event parameter.
Public fieldpos
The position of the event, in bytes.
Public fieldtick
The position of the event, in ticks.
Top
Remarks

The tick and pos members are ignored by BASS_MIDI_StreamEvents(Int32, BASSMIDIEventMode, BASS_MIDI_EVENT, Int32). pos is also ignored by BASS_MIDI_StreamCreateEvents(BASS_MIDI_EVENT, Int32, BASSFlag, Int32).
See Also

Reference