Safe Haskell | Safe-Inferred |
---|
Convert realized S.Flat
output to text for the terminal.
Synopsis
- renderAll :: Format.Abstraction -> Korvai.Score -> [Text]
- printInstrument :: (Solkattu.Notation stroke, Ord stroke) => Korvai.Instrument stroke -> Format.Abstraction -> Korvai.Korvai -> IO ()
- printKonnakol :: Config -> Korvai.Korvai -> IO ()
- printBol :: Config -> Korvai.Korvai -> IO ()
- data Config = Config {
- _rulerEach :: !Int
- _terminalWidth :: !Int
- _overrideStrokeWidth :: !(Maybe Int)
- _abstraction :: !Format.Abstraction
- defaultConfig :: Config
- konnakolConfig :: Config
- bolConfig :: Config
- formatInstrument :: (Solkattu.Notation stroke1, Solkattu.Notation stroke2, Ord stroke1) => Config -> Korvai.Instrument stroke1 -> (Realize.Stroke stroke1 -> Maybe (Realize.Stroke stroke2)) -> Korvai.Korvai -> ([Text], Bool)
Documentation
renderAll :: Format.Abstraction -> Korvai.Score -> [Text] Source #
Render all instrument realizations.
printInstrument :: (Solkattu.Notation stroke, Ord stroke) => Korvai.Instrument stroke -> Format.Abstraction -> Korvai.Korvai -> IO () Source #
printKonnakol :: Config -> Korvai.Korvai -> IO () Source #
Config | |
|
:: (Solkattu.Notation stroke1, Solkattu.Notation stroke2, Ord stroke1) | |
=> Config | |
-> Korvai.Instrument stroke1 | |
-> (Realize.Stroke stroke1 -> Maybe (Realize.Stroke stroke2)) | postproc used to split wadon/lanang |
-> Korvai.Korvai | |
-> ([Text], Bool) | (lines, hadError) |