Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
midi_file.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2020-2021 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __IO_MIDI_FILE_H__
11#define __IO_MIDI_FILE_H__
12
22bool
23midi_file_track_has_data (const char * abs_path, int track_idx);
24
28int
29midi_file_get_num_tracks (const char * abs_path, bool non_empty_only);
30
35#endif
bool midi_file_track_has_data(const char *abs_path, int track_idx)
Returns whether the given track in the midi file has data.
int midi_file_get_num_tracks(const char *abs_path, bool non_empty_only)
Returns the number of tracks in the MIDI file.