Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone

Derive.Solkattu.Instrument.ToScore

Contents

Description

Functions to convert instrument-specific strokes to karya score.

Synopsis

ToScore

type ToScore stroke Source #

Arguments

 = [(Sequence.Duration, Realize.Note stroke)] 
-> ([Event], [(Text, [Event])])

(note_events, [(control, control_events)]). A control named "*" becomes a pitch track.

Convert instrument-specific strokes into tracks. This is a simple intermediate data structure to bridge the solkattu types and the karya types.

to_score :: Expr.ToExpr (Realize.Stroke stroke) => ToScore stroke Source #

A standard ToScore for simple percussion, with 0 duration and no control tracks.