Update SMF profile tool to show number of temmp changes
This commit is contained in:
parent
97b3aef0fa
commit
12ffd962b3
@ -21,7 +21,7 @@ main (int argc, char** argv)
|
|||||||
#if 1
|
#if 1
|
||||||
Evoral::SMF smf;
|
Evoral::SMF smf;
|
||||||
smf.open (fn, 1, true);
|
smf.open (fn, 1, true);
|
||||||
printf ("SMF '%s' tracks=%d, channels=%d, ppqn=%d (n_notes: %ld)\n", fn, smf.num_tracks (), smf.num_channels (), smf.ppqn(), smf.n_note_on_events ());
|
printf ("SMF '%s' tracks=%d, channels=%d, ppqn=%d (n_notes: %ld, n_tempi: %d)\n", fn, smf.num_tracks (), smf.num_channels (), smf.ppqn(), smf.n_note_on_events (), smf.num_tempos ());
|
||||||
#else
|
#else
|
||||||
FILE* f = g_fopen(fn, "r");
|
FILE* f = g_fopen(fn, "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
|
Loading…
Reference in New Issue
Block a user