Show / Hide Table of Contents

Struct MidiMarker

Used with StreamGetMark(Int32, MidiMarkerType, Int32, out MidiMarker), MidiLyric, MidiCue and MidiMarker to retrieve markers.

Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Midi.dll
Syntax
public struct MidiMarker

Properties

Position

The position (in bytes) of the marker.

Declaration
public int Position { get; }
Property Value
Int32

Text

The marker, cue, lyric, keysig, timesig text.

Declaration
public string Text { get; }
Property Value
String

Remarks

If the lyric text begins with a '/' (slash) character, a new line should be started. If it begins with a '' (backslash) character, the display should be cleared.

For a key signature event (MIDI meta event 89). The marker text is in the form of "a b", where a is the number of sharps (if positive) or flats (if negative), and b signifies major (if 0) or minor (if 1).

For a time signature events (MIDI meta event 88). The marker text is in the form of "a/b c d", where a is the numerator, b is the denominator, c is the metronome pulse, and d is the number of 32nd notes per MIDI quarter-note.

Track

The MIDI track (number) containing marker (0=first).

Declaration
public int Track { get; }
Property Value
Int32

Back to top Copyright © 2017 Mathew Sachin
Generated by DocFx