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

Safe HaskellNone

Derive.Call.India.Gamakam5

Contents

Description

Calls for Carnatic gamakam.

Synopsis

Documentation

sequence

dyn-sequence

parse

State

type M s a = StateT s Deriver a Source #

data PitchState Source #

Constructors

PitchState 

Fields

type Step = Double Source #

Relative NoteNumbers.

sequence

data Transpose Source #

Pitch.Transpose, without the value. TODO probably should split those?

Constructors

Diatonic 
Chromatic 
Nn 

data Call call Source #

Constructors

Call !call !Text 

Instances

Functor Call # 

Methods

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

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

Eq call => Eq (Call call) # 

Methods

(==) :: Call call -> Call call -> Bool #

(/=) :: Call call -> Call call -> Bool #

Show call => Show (Call call) # 

Methods

showsPrec :: Int -> Call call -> ShowS #

show :: Call call -> String #

showList :: [Call call] -> ShowS #

zip_calls :: [a] -> [Call b] -> [Call (a, b)] Source #

DynCall

PitchCall

data PitchCall Source #

Constructors

PitchCall 

Fields

data PCall Source #

Argument parser and call function.

Constructors

PCall (Sig.Parser a) (a -> Context -> M PitchState Signal.Control) 

PitchCall implementation

data Context Source #

Here I am reinventing Derive.Call yet again. This is the equivalent of Context and PassedArgs.

Constructors

Context 

Fields

Instances

pc_relative :: PCall Source #

Move relative to the note's swaram.

pc_relative_move :: Pitch.Transpose -> PCall Source #

Move relative to the current pitch.

util

parser

type Parser a = A.Parser a Source #

misc