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

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.