On 11 March 2011 08:58, Henning Thielemann
<[email protected]> wrote:
> [SNIP] I would have thought that the hierarchical
> structure is also better for music notation, but the actual
> implementations show, that it is not.

Haskore's structure unfortunately maps badly to LilyPond or ABC in a few ways:

Systems really need to be separate from the beginning - so with
Haskore you would have to do a traversal extracting each instrument
from the tree. As you can change instrument then change back this is
not so simple.

Chords have discrete syntax - you can extract them from Haskore, but
again its simply easier to have them from the beginning.

Overlays - the same instrument playing simultaneous notes of different
durations (e.g. on piano holding down the thumb on a note but moving
the fingers through an arpeggio) need synch-ing to bar lines. If the
overlay isn't sounding for the full bar it needs "spacer" rests -
not-printed rests - to synchronize with the other overlay lines. This
is hard to program "initially" i.e. find nice data types that
accommodate it - trying to synthesize it from Haskore adds more woe.

...

I still don't understand what Evan's reverse instrument models.

Is it reversing the sound of a note so it is some function wrapping a
unit generator?

Or is it reversing a sequence of notes according to pitch?

The second would seem easier to implement if you have a distinction
between score and orchestra. I'd guess a score and orchestra
distinction makes the first easier as well, though I haven't got very
far with synthesis.
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to