Use libfluidsynth's new function fluid_player_get_status().
Attach a file by drag & drop or click to upload