Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Derive.Symbols

Description

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.

Synopsis

Documentation

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.