Fixed calculation of total ticks passed in a song in ouput.ml