Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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.