music-suite / music-score

This repo has been merged into: https://github.com/music-suite/music-suite
http://music-suite.github.io
BSD 3-Clause "New" or "Revised" License
52 stars 10 forks source link

Midi backend does not handle non-forward spans well #309

Closed hanshoglund closed 10 years ago

hanshoglund commented 10 years ago

Looks right, but plays wrong:

>>> :pl set parts' violins $ palindrome $ scat [accentAll $ pcat[g_,c,d],legato $ scat [d,level _f e],tremolo 2 $ level _p f]
>>> :pl [(1<->0,c)^.note,(0<->1,d)^.note]^.score

OK:

>>> :pl normalizeScore $ set parts' violins $ palindrome $ scat [accentAll $ pcat[g_,c,d],legato $ scat [d,level _f e],tremolo 2 $ level _p f]
>>> :pl normalizeScore $ [(1<->0,c)^.note,(0<->1,d)^.note]^.score