| Copyright | (c) OleksandrZhabenko 2020-2021 |
|---|---|
| License | MIT |
| Maintainer | olexandr543@yahoo.com |
| Stability | Experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
| Extensions |
|
Phonetic.Languages.GetTextualInfo
Description
Library module that contains functions used by the propertiesTextG3 executable.
Synopsis
- generalProc :: FilePath -> PermutationsType -> (Int, Int) -> Bool -> [String] -> [String] -> Coeffs2 -> Coeffs2 -> FilePath -> String -> Int -> Int -> String -> IO ()
- linesFromArgs1 :: Int -> String -> [String] -> [String]
- linesFromArgsG :: [String] -> [String] -> [String]
- getData3 :: [[[[Sound8]]] -> [[Double]]] -> PermutationsType -> Bool -> Coeffs2 -> Coeffs2 -> Int -> Int -> String -> [String] -> [String] -> IO ()
- process1Line :: [[[[Sound8]]] -> [[Double]]] -> Bool -> Coeffs2 -> Coeffs2 -> Int -> Int -> String -> [String] -> Array Int [Array Int Int] -> String -> IO ()
Documentation
Arguments
| :: FilePath | Whether to use the own provided durations from the file specified here. Uses the |
| -> PermutationsType | Whether to use just one of the express permutations, or the full universal set. |
| -> (Int, Int) | |
| -> Bool | |
| -> [String] | |
| -> [String] | |
| -> Coeffs2 | |
| -> Coeffs2 | |
| -> FilePath | |
| -> String | |
| -> Int | |
| -> Int | |
| -> String | |
| -> IO () |
since 0.5.0.0 -- The meaning of the first command line argument (and since 0.6.0.0 -- There is also the possibility to use 'line growing' that is to use the Coeffs2 here everywhere in the module)
depends on the String argument -- whether it starts with 'w', 'x' or otherwise. In the first case it represents
the k1 and k2 coefficients (default ones equal to 2.0 and 0.125) for the functions from the Rhythmicity.TwoFourth module.
Otherwise, it is used for the functions to specify the level of emphasizing the two-based and three-based periods
(the default values here are 1.0 both).
prepereGrowTextMN function
with the Int arguments from the first argument tuple. This allows to rearrange the given text and then
to rewrite it.
Besides there are new lines of the arguments for the String argument that can begin with "c", "s", "t",
"u", "v", "C", "N", "S", "T", "U", "V", "W", "X", "Y" and "Z" letters. For more information, please, refer to the rhythmicity.