Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred



Some standard call names. These are used to construct calls symbolically, or so instruments can override standard symbols. These form a kind of API, so they should be coordinated between the different places that use them.

ToExpr and generator are useful for constructing symbolic expressions.



note_track :: Expr.Symbol Source #

This is called implicitly for note track titles, e.g. '>foo +bar' becomes 'note-track foo +bar'. It's mostly to reuse the call machinery for note track titles, but as a bonus you can override it to customize note track titles.

default_note :: Expr.Symbol Source #

The standard note call is bound to this, in addition to "". Internally calls wanting a standard note call this though, so you can rebind "" locally without getting recursion.

default_pitch :: Expr.Symbol Source #

If this is bound, scale degree pitch calls will be passed to this as a single pitch argument. Otherwise, they set the pitch, like the set call. So unlike default_note, where you rebind the "" call and default_note is the escape hatch, you rebind default_pitch itself to hook the pitch evaluation.

equal :: Expr.Symbol Source #

Call used by the infix = syntax.

accent :: Expr.Symbol Source #

Cause notes to be stronger or weaker.

weak :: Expr.Symbol Source #

Cause notes to be stronger or weaker.