Copyright | (c) OleksandrZhabenko 2019 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Safe Haskell | None |
Language | Haskell2010 |
A program that can be used as a musical instrument synthesizer or for Ukrainian speech synthesis especially for poets, translators and writers.
Synopsis
- appendS16LEFile :: Vector String -> Handle -> IO ()
- convertToProperUkrainian :: String -> Vector String
- nSymbols :: String -> Int
Documentation
appendS16LEFile :: Vector String -> Handle -> IO () Source #
The function that actually produces a .raw file.
convertToProperUkrainian :: String -> Vector String Source #
The function that converts a written Ukrainian text into the sounding in the program phonetical respesentation. It is not exact phonetically but you can make for yourself a general impression of the Ukrainian sounding.
nSymbols :: String -> Int Source #
Function that converts the first command line argument given, which is a digit in the range [0..9]
(prividing a logarithmic scale starting from 2 and ending at 1000000001),
to the upper bound of number of symbols that the main
function reads from the stdin
for sounding.
The default value (no input) is 31416. If there is another first command line argument then the program gives
an error message and terminates with the error. This is done for the security reasons: because of performative writing to
the resulting file(s) there is a need to limit the used memory.