Zrythm
a highly automated and intuitive digital audio workstation
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
e
f
g
i
m
p
r
t
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
a
b
c
e
f
g
i
k
m
n
p
r
s
t
u
z
Enumerator
a
u
z
Macros
_
a
b
c
d
e
f
h
i
k
m
p
r
s
t
u
v
z
▼
Zrythm
►
Documentation
►
Cyaml Schemas
GTK Tips
►
The Processing Cycle
repo-management
►
Release Checklist
►
Weblate Translations
Building on Windows
Building on Windows (MSVC)
CONTRIBUTING
HACKING
Git Packaging Hooks
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
actions
►
doc
►
dsp
►
gui
▼
io
►
serialization
►
audio_file.h
►
file_import.h
►
midi_file.h
►
plugins
►
project
►
settings
►
src
►
utils
dir.h
gtk_wrapper.h
project.h
libpanel_wrapper.h
Wrapper.h
►
zrythm.h
►
zrythm_app.h
INSTALL.rst
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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