FLUID_LOG(FLUID_DBG,"Voice is on! channel %d, key %d",fluid_voice_get_channel(vv),fluid_voice_get_key(vv));
}
}
returnres;
}
/**
* Create a new MIDI player.
* @param synth Fluid synthesizer instance to create player for
...
...
@@ -2197,10 +2214,16 @@ fluid_player_callback(void *data, unsigned int msec)
/* The first time we notice we've run out of MIDI events but there are still active voices, disable all hold pedals */
if(!player->end_pedals_disabled)
{
if(check_for_on_notes(synth))
{
FLUID_LOG(FLUID_WARN,"End of the MIDI file reached, but not all notes have received a note off event! OFFing them now! Run with --verbose to spot pending voices.");