13
0

Update SMF profile tool to show number of temmp changes

This commit is contained in:
Robin Gareus 2022-09-25 03:30:15 +02:00
parent 97b3aef0fa
commit 12ffd962b3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -21,7 +21,7 @@ main (int argc, char** argv)
#if 1
Evoral::SMF smf;
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
FILE* f = g_fopen(fn, "r");
if (!f) {