logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

WildMidi_FastSeek - Move to a position in a midi file

Author

       Chris Ison <chrisisonwildcode@gmail.com> Bret Curtis <psi29a@gmail.com>

Description

       Resets  all  note  specific  midi  states and active notes before scanning to sample_pos samples from the
       beginning taking note of any changes to midi channel states. The next call to WildMidi_GetOutput(3)  will
       behave as if you started to play the midi from that position.

       handle The identifier obtained from opening a midi file with WildMidi_Open(3) orWildMidi_OpenBuffer(3)

       sample_pos
              The number of samples from the beginning you want libWildMidi to seek to.

       NOTE:  significant delay can occur when using this function. You can expect even more delay if you select
       a position that's already been passed forcing the library to start from the beginning.

Library

libWildMidi

Name

       WildMidi_FastSeek - Move to a position in a midi file

See Also

WildMidi_GetVersion(3),WildMidi_Init(3),WildMidi_MasterVolume(3),WildMidi_Open(3),WildMidi_OpenBuffer(3),WildMidi_SetOption(3),WildMidi_GetOutput(3),WildMidi_GetMidiOutput(3),WildMidi_GetInfo(3),WildMidi_Close(3),WildMidi_Shutdown(3),wildmidi.cfg(5)

Synopsis

#include<wildmidi_lib.h>intWildMidi_FastSeek(midi*handle,unsignedlongint*sample_pos);

See Also