8000 Api for obtaining Ticks/Playback position · Issue #212 · Mindwerks/wildmidi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Api for obtaining Ticks/Playback position #212
Open
@Ghabry

Description

@Ghabry

Hello.

Is there a way to obtain the current "midi ticks" as e.g. in Fluidsynth? Nee 5EB1 d this again for EasyRPG Player because there is an event command where the game can ask for the midi position in ticks :/.

https://github.com/FluidSynth/fluidsynth/blob/master/src/midi/fluid_midi.c#L2261

I see that you store the samples in

mdi->events[mdi->event_count - 1].samples_to_next += sample_count;
mdi->extra_info.approx_total_samples += sample_count;

Guess they can be used to calculate the playback position? At least WildMidi_FastSeek uses them but I can't see any way to read these values directly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0