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
22
bool
23
midi_file_track_has_data
(
const
char
* abs_path,
int
track_idx);
24
28
int
29
midi_file_get_num_tracks
(
const
char
* abs_path,
bool
non_empty_only);
30
35
#endif
midi_file_track_has_data
bool midi_file_track_has_data(const char *abs_path, int track_idx)
Returns whether the given track in the midi file has data.
midi_file_get_num_tracks
int midi_file_get_num_tracks(const char *abs_path, bool non_empty_only)
Returns the number of tracks in the MIDI file.
io
midi_file.h
Generated by
1.11.0