Here is a small sample MIDI file to try to reproduce the bug. Its duration is 41 seconds but Totem will play long after its end :). Note that this is a CC-BY-SA licensed file from WikiMedia foundation sites.
Cheers, JM.
ode.mid
Description: MIDI audio