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

HasDuration/HasPosition Score violates laws #299

Closed hanshoglund closed 10 years ago

hanshoglund commented 10 years ago

>>> stretch 2 (_duration ([pure 1]^.score)) == _duration (stretch 2 ([pure 1]^.score))
True
>>> stretch 2 (_duration ([]^.score)) == _duration (stretch 2 ([]^.score))
True
>>> delay 2 (_onset ([pure 1]^.score)) == _onset (delay 2 ([pure 1]^.score))
True
>>> delay 2 (_onset ([]^.score)) == _onset (delay 2 ([]^.score))
False
hanshoglund commented 10 years ago

Superseded by #307