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

Safe HaskellNone

Derive.Solkattu.Instrument.Mridangam

Contents

Description

Realize an abstract solkattu Notes to concrete mridangam Notes.

Synopsis

Documentation

note :: stroke -> Realize.SNote stroke Source #

data Stroke Source #

Instances

Eq Stroke # 

Methods

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

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

Ord Stroke # 
Show Stroke # 
Pretty Stroke # 
Expr.ToExpr Stroke #

Pretty reproduces the Derive.Solkattu.Dsl syntax, which has to be haskell syntax, so it can't use +, and I have to put thoppi first to avoid the keyword do. It would be nice if I could make the tracklang syntax consistent, but maybe not a huge deal at the moment.

Expr.ToExpr (Realize.Stroke Stroke) # 
ToStroke (Realize.Stroke Stroke) # 
ToStroke (Realize.Note Stroke) # 

data Thoppi Source #

Constructors

Tha 
Thom 

strokes

data Strokes a Source #

Constructors

Strokes 

Fields

  • k :: a
     
  • t :: a
     
  • l :: a
     
  • n :: a
     
  • d :: a
     
  • u :: a
     
  • v :: a
     
  • i :: a
     
  • y :: a
     
  • j :: a
     
  • p :: a
     
  • o :: a
     
  • od :: a

    do would match score notation, but do is a keyword. Ultimately that's because score uses + for tha, and +o is an attr, while o+ is a bareword. But perhaps I should change + to p in the score, and then the left hand can go on the left side?

Instances

Functor Strokes # 

Methods

fmap :: (a -> b) -> Strokes a -> Strokes b #

(<$) :: a -> Strokes b -> Strokes a #

Show a => Show (Strokes a) # 

Methods

showsPrec :: Int -> Strokes a -> ShowS #

show :: Strokes a -> String #

showList :: [Strokes a] -> ShowS #

patterns

misc :: [(Sequence.Matra, [SNote])] Source #

Misc patterns I should figure out how to integrate some day.