Skip to content

Make the event time (On Tick and Off Tick) available in Break MidiEvent #27

@Ecnassianer

Description

@Ecnassianer

The Time variable in OnMidiEvent seems to give the current playback time when the game thread processes the midi event, not the time recorded in the midi file and associated with the event itself. The resulting value is framerate dependent. This makes it difficult to respond to notes in a specific time range, since you don't know how the Time variable corresponds to the note's normally recorded time.

Additionally, the value of Time doesn't scale with Playback Speed, so the Time can be wildly different than the recorded time in the midi file.

If the "current playback time" behavior of Time isn't a bug, please expose the recorded time of the event in Break MidiEvent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions