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

Solkattu.Technique

Description

Functions to write performance postprocess functions.

Synopsis

Documentation

type Flat stroke = S.Flat (Realize.Group (Realize.Stroke stroke)) (Realize.Note stroke) Source #

A realized note with associated S.Meta.

type Technique stroke Source #

Arguments

 = [stroke]

Dropped strokes. These are in original order, which means if you want to see the previous strokes, you have to use Seq.rtake.

-> stroke

current

-> [stroke]

next

-> Maybe stroke

Nothing to not modify

A Technique is a wrapper around postprocess to write functions which modify strokes during a reduction.

postprocess :: Technique (Realize.Stroke stroke) -> [Flat stroke] -> [Flat stroke] Source #

plain :: Technique stroke -> Technique (Realize.Stroke stroke) Source #

Techinque that ignores Realize.Stroke details.