From f9f826e8e27c41d89582b1cc0ddf0fabde0dacb7 Mon Sep 17 00:00:00 2001 From: derselbst Date: Sun, 17 Mar 2019 13:59:29 +0100 Subject: [PATCH] fix the default tempo of midi files the MIDI spec defines it to be 120 BPM, fixes #519 --- src/midi/fluid_midi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/midi/fluid_midi.c b/src/midi/fluid_midi.c index 38c2bf6e..a49a2e68 100644 --- a/src/midi/fluid_midi.c +++ b/src/midi/fluid_midi.c @@ -1676,7 +1676,7 @@ new_fluid_player(fluid_synth_t *synth) player->currentfile = NULL; player->division = 0; player->send_program_change = 1; - player->miditempo = 480000; + player->miditempo = 500000; player->deltatime = 4.0; player->cur_msec = 0; player->cur_ticks = 0; @@ -1760,7 +1760,7 @@ fluid_player_reset(fluid_player_t *player) player->ntracks = 0; player->division = 0; player->send_program_change = 1; - player->miditempo = 480000; + player->miditempo = 500000; player->deltatime = 4.0; return 0; }