Safe Haskell | Safe-Inferred |
---|
Functions to realize pakhawaj bols.
Synopsis
- library :: Library.Library
- c_bols :: Generator Note
- realize_events :: ScoreTime -> ScoreTime -> [SubT.EventT Text] -> Either Text [SubT.EventT Text]
- bols_to_attribute :: ScoreTime -> [(ScoreTime, Bol)] -> [(ScoreTime, Attrs.Attributes)]
- realize_bols :: ScoreTime -> [(ScoreTime, Text)] -> Either Text [(ScoreTime, Bol)]
- bol_to_attribute :: ScoreTime -> ScoreTime -> Bol -> [(ScoreTime, Attrs.Attributes)]
- stroke_to_attribute :: Stroke -> Attrs.Attributes
- data Stroke
- data Bol
- data Note a
- map_stroke :: (Stroke -> Stroke) -> Bol -> Bol
- strokes_of :: Bol -> [Stroke]
- type Syllable = Text
- all_bols :: [([Syllable], [Note Bol])]
- single_bols :: [([Syllable], Bol)]
- sequences :: [([Syllable], [Note Bol])]
- parse :: ScoreTime -> Text -> Either Text [(ScoreTime, Bol)]
- match_syllables :: [(a, Syllable)] -> Either Text [(a, Note Bol)]
- infer_tette :: [Bol] -> [Bol]
- map_neighbors :: Traversable t => (Maybe b -> a -> Maybe a -> b) -> t a -> t b
Documentation
calls
realize_events :: ScoreTime -> ScoreTime -> [SubT.EventT Text] -> Either Text [SubT.EventT Text] Source #
bols_to_attribute :: ScoreTime -> [(ScoreTime, Bol)] -> [(ScoreTime, Attrs.Attributes)] Source #
bol_to_attribute :: ScoreTime -> ScoreTime -> Bol -> [(ScoreTime, Attrs.Attributes)] Source #
implementation
Tet | |
Te | |
Tette | either tet or te, whichever is more convenient |
Ne | tet with two fingers |
Na | |
Ta | |
Di | |
Di1 | di with one finger |
Di3 | di with three fingers bayan |
Ka | |
Ge |
Instances
Foldable Note Source # | |
Defined in Derive.C.India.Pakhawaj fold :: Monoid m => Note m -> m # foldMap :: Monoid m => (a -> m) -> Note a -> m # foldMap' :: Monoid m => (a -> m) -> Note a -> m # foldr :: (a -> b -> b) -> b -> Note a -> b # foldr' :: (a -> b -> b) -> b -> Note a -> b # foldl :: (b -> a -> b) -> b -> Note a -> b # foldl' :: (b -> a -> b) -> b -> Note a -> b # foldr1 :: (a -> a -> a) -> Note a -> a # foldl1 :: (a -> a -> a) -> Note a -> a # elem :: Eq a => a -> Note a -> Bool # maximum :: Ord a => Note a -> a # | |
Traversable Note Source # | |
Functor Note Source # | |
Show a => Show (Note a) Source # | |
Eq a => Eq (Note a) Source # | |
Pretty a => Pretty (Note a) Source # | |
strokes_of :: Bol -> [Stroke] Source #
single_bols :: [([Syllable], Bol)] Source #
parse :: ScoreTime -> Text -> Either Text [(ScoreTime, Bol)] Source #
Parse scores from Derive.Call.India.PakhawajScore.
map_neighbors :: Traversable t => (Maybe b -> a -> Maybe a -> b) -> t a -> t b Source #
This is different from map f . Lists.zipNeighbors
in that you can see
whatever change f
made to the previous value.