[Haskell-cafe] music-related problem
mpm at alumni.caltech.edu
Sun Jul 4 16:34:27 EDT 2010
Thanks for thinking about this. The problem, though, is that notes can
overlap in time. MusicXML solves this by having not just Note and Rest, but
Backup and Forward which indicate the "current position" should be moved
before interpreting the following data. I'm trying to make it simpler than
that, by giving a note an absolute location and duration.
Stephen Tetley wrote:
> If you add Rest as an alternative constructor to Item you should be
> able to attribute Items with their duration rather than their onset
> position. For most processing this would simplify things.
More information about the Haskell-Cafe