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

Phrase traversal vs. overlapping notes #208

Closed hanshoglund closed 4 years ago

hanshoglund commented 10 years ago

The phrase traversals are used for traversing the phrases (i.e. groups consecutive "not-separated-by-rest" notes in a single part) in each score. This causes a non-recoverable quantization error if the score containing overlapping notes (in a single part). We need to statically forbind overlapping notes, or dynamically avoid them in the phrase traversals.

The traversal can be made safe by sticking in the simult lens before phrases, however i am not sure whether this should be part of the general Score instance.

Possible solutions

The problem will mostly disappear when #278 is fixed, as we can then remove or rectify (as per the simplest of the above solutions) phrase traversals for the old score type (soon to be Track)