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

Safe HaskellNone

Derive.Solkattu.Korvai

Contents

Description

Tie together generic Solkattu and specific instruments into a single Korvai.

Synopsis

Documentation

korvai

data GetInstrument stroke Source #

TODO the name is awkward. This is really just ties together all the instrument-specific code.

data GInstrument Source #

An existential type to capture the Pretty instance.

Constructors

Pretty.Pretty stroke => GInstrument (GetInstrument stroke) 

realize :: Pretty.Pretty stroke => GetInstrument stroke -> Bool -> Korvai -> [Either Text ([(Sequence.Tempo, Realize.Note stroke)], Text)] Source #

Realize a Korvai on a particular instrument.

realize1 :: Pretty.Pretty stroke => GetInstrument stroke -> Bool -> StrokeMaps -> Tala.Tala -> Sequence -> Either Text ([(Sequence.Tempo, Realize.Note stroke)], Text) Source #

Realize a Korvai on a particular instrument.

konnakol

Metadata

data Metadata Source #

Attach some metadata to a Korvai. Someday I'll put them in some kind of searchable database and then this should be useful.

Constructors

Metadata 

Fields

newtype Tags Source #

Constructors

Tags (Map Text [Text]) 

Instances

Eq Tags # 

Methods

(==) :: Tags -> Tags -> Bool #

(/=) :: Tags -> Tags -> Bool #

Show Tags # 

Methods

showsPrec :: Int -> Tags -> ShowS #

show :: Tags -> String #

showList :: [Tags] -> ShowS #

Monoid Tags # 

Methods

mempty :: Tags #

mappend :: Tags -> Tags -> Tags #

mconcat :: [Tags] -> Tags #

Pretty.Pretty Tags # 

infer

types

print score