NOW LOADING

MidiSequenceTextEvent


A piece of text carried in a sequence, with the tick it belongs to
Namespace Windows.Devices.Midi2.Utilities.Sequencing
Type Name MidiSequenceTextEvent
Type WinRT Runtime Class
IDL MidiSequenceTextEvent.idl

MidiSequenceTextEvent is one piece of text carried in a MidiSequence, along with where it belongs on the timeline. Get them from the sequence’s TextEvents collection.

Properties

Property Description
Tick Where on the timeline this text belongs
TrackIndex The track it’s on
Kind What kind of text this is, as a MidiSequenceTextKind
Text The text itself

Remarks

Lyrics show up here one syllable at a time, which is how a file stores them, and that’s hard to read by itself. For words you can show on screen, use the sequence’s LyricLines collection of MidiSequenceLyricLine instead. The single syllables stay here for an app that would rather break lines itself.

Chord symbols also come as text events, with Kind set to ChordSymbol. To find the chord in effect at a moment, not one that happens exactly then, call GetChordSymbolAtTick on the sequence.

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.