audio/midi_file.h file

MIDI file utils.

Contents

Functions

auto midi_file_track_has_data(const char* abs_path, int track_idx) -> bool
Returns whether the given track in the midi file has data.
auto midi_file_get_num_tracks(const char* abs_path, bool non_empty_only) -> int
Returns the number of tracks in the MIDI file.