Safe Haskell | Safe-Inferred |
---|
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 #
Attributes (Map Text (Maybe Text)) |
Instances
Show Attributes Source # | |
Defined in Solkattu.Instrument.Sargam showsPrec :: Int -> Attributes -> ShowS # show :: Attributes -> String # showList :: [Attributes] -> ShowS # | |
Eq Attributes Source # | |
Defined in Solkattu.Instrument.Sargam (==) :: Attributes -> Attributes -> Bool # (/=) :: Attributes -> Attributes -> Bool # |
Stroke | |
|
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 #