phladiprelio-ukrainian-shared-0.5.0.2: A shared by different Ukrainian implementations of the PhLADiPreLiO functionality.
Copyright(c) OleksandrZhabenko 2021-2024
LicenseMIT
Maintaineroleksandr.zhabenko@yahoo.com
StabilityExperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Phladiprelio.Ukrainian.ReadDurations

Description

Functions to read the properties data from the files with the special Haskell-like syntaxis.

Synopsis

Documentation

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.