Copyright | (c) OleksandrZhabenko 2021-2024 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Functions to read the properties data from the files with the special Haskell-like syntaxis.
Synopsis
- sound8s :: FlowSound
- readSound8ToWord8 :: String -> (Word8, [(Sound8, Word8)])
- divide2SDDs :: String -> [String]
- readSyllableDurations :: FilePath -> IO [[[[Sound8]]] -> [[Word8]]]
Documentation
For more information on implementation, please refer to the link:
readSound8ToWord8 :: String -> (Word8, [(Sound8, Word8)]) Source #
Since the version 0.5.0.0 the semantics changed. Now, there is no duration for the pause between words.
The 52 Double
numbers become the durations of the above specified Sound8
values respectively, the order
must be preserved (if you consider it important, well, it should be!). If some number in the file cannot be read
as a Double
number the function uses the first one that can be instead (the default value). If no such is specified
at all, then the default number is 5 for all the Sound8
sound representations.
divide2SDDs :: String -> [String] Source #