Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone




Calls that are similar to staff-notation articulations, or could be. This means calls that modify notes in relatively straightforward ways, either by adding an attribute or modifying their environment.

There is already general purpose syntax to add attributes to notes, e.g. attr = +x or n +x or just +x, and instruments may supply special calls for their attributes, but there are several attributes which look nice with their own calls and are used by many instruments.

TODO There are too many ways to apply attributes to notes, and they work in inconsistent ways.



lookp attr


c_legato :: Generator Note Source #

I'm not really sure how fancy calls should be. On one hand, high level calls should get a nice result automatically. On the other hand, they're not very composable if they override things like %sus-abs.

c_attr_legato :: Generator Note Source #

This is not in note_calls, instruments that support this are expected to override ( with it.


c_sustain_abs :: Transformer Note Source #

This is the same as c_lengthen, but it's here for symmetry with c_sustain. Also, conceptually this is lower level, while c_lengthen is meant to be modified to whatever is locally appropriate.