NOW LOADING

MidiSequenceBarPosition


Where a tick falls in bars and beats
Namespace Windows.Devices.Midi2.Utilities.Sequencing
Type Name MidiSequenceBarPosition
Type WinRT Struct
IDL MidiSequenceBarPosition.idl

MidiSequenceBarPosition is where a tick falls in the music, in bars and beats, the way a musician and a score count them. Returned by GetBarPositionAtTick on MidiSequence.

Struct Fields

Field Description
Bar The bar number
Beat The beat within the bar
TicksIntoBeat How far into that beat the tick falls

Remarks

Bars and beats are counted from one, the way a musician and a score count them, not from zero. Show them as they are.

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.