set track2 when creating ottava and hairpin
fix endSpanner output, only one endspanner by spanner, output endspanner for spanner ending at end of score