Safe Haskell | Safe-Inferred |
---|
Solkattu.Instrument.Sargam
Contents
Description
Realize abstract solkattu Notes to sa-relative notes.
Synopsis
- type SequenceM g = S.Sequence g (Solkattu.Note (Realize.Stroke Stroke))
- newtype Attributes = Attributes (Map Text (Maybe Text))
- data Stroke = Stroke {
- _pitch :: !Pitch.Pitch
- _attributes :: !(Set Text)
- scorePitch :: Pitch.Pitch -> Text
- dotAbove :: Text
- dotBelow :: Text
- pitchCall :: Pitch.Pitch -> Expr.Call Text
- data Strokes a = Strokes {}
- strokes :: Strokes Stroke
- stroke :: Pitch.Octave -> Pitch.PitchClass -> Stroke
- notes :: Strokes (SequenceM g)
- toScore :: ToScore.ToScore Stroke
- noteOf :: Realize.Note a -> Maybe (Realize.Stroke a)
- octave :: Pitch.Octave -> Stroke -> Stroke
- add :: Pitch.PitchClass -> Stroke -> Stroke
Documentation
type SequenceM g = S.Sequence g (Solkattu.Note (Realize.Stroke Stroke)) Source #
newtype Attributes Source #
Constructors
Attributes (Map Text (Maybe Text)) |
Instances
Show Attributes Source # | |
Defined in Solkattu.Instrument.Sargam Methods showsPrec :: Int -> Attributes -> ShowS # show :: Attributes -> String # showList :: [Attributes] -> ShowS # | |
Eq Attributes Source # | |
Defined in Solkattu.Instrument.Sargam |
Constructors
Stroke | |
Fields
|
Instances
Show Stroke Source # | |
Eq Stroke Source # | |
Ord Stroke Source # | |
Expr.ToExpr Stroke Source # | |
Defined in Solkattu.Instrument.Sargam | |
Solkattu.Notation Stroke Source # | |
Pretty Stroke Source # | |
Expr.ToExpr (Realize.Stroke Stroke) Source # | |
Defined in Solkattu.Instrument.Sargam Methods to_expr :: Realize.Stroke0 Stroke -> Expr.Expr Expr.MiniVal Source # |
scorePitch :: Pitch.Pitch -> Text Source #
Show pitch as parsed by the raga scales.
stroke :: Pitch.Octave -> Pitch.PitchClass -> Stroke Source #
noteOf :: Realize.Note a -> Maybe (Realize.Stroke a) Source #