Copyright | (c) OleksandrZhabenko 2019 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Safe Haskell | None |
Language | Haskell2010 |
A program and a library that can be used as a simple basic interface to some SoX functionality or for producing the approximately Ukrainian speech with your own recorded voice.
Synopsis
- main :: IO ()
- produceSound :: FilePath -> IO ()
- tempS :: String -> IO Double
- cleanCreatedSoundFs :: IO ()
- createAndPlayFs :: IO ()
- main6Ukr :: IO ()
Documentation
Function responds for general program execution. It starts with Caution to be responsible for usage and to use it personally. Then the program guides you through the creating and using your Ukrainian "voice". Please, use it carefully. After the execution the program if terminated naturally without interruption removes (cleans) all the created sound files in the current directory for security reasons. If it terminates by interruption or in general it is a good practice to remove the current directory sound files manually.
produceSound :: FilePath -> IO () Source #
Function that being given a path to the installed by the mmsyn6ukr
package file produces the corresponding analogous sound with your created
voicing.
tempS :: String -> IO Double Source #
Function to get the Double
value, which shows in how many times you expect that your sound representation will be longer than the one provided by the mmsyn6ukr
package.
cleanCreatedSoundFs :: IO () Source #
Function that removes all the sounds with ".raw", ".wav", ".ogg", ".flac" extensions in the current directory. It is used for the security reasons.
createAndPlayFs :: IO () Source #
Function that repeatedly proposes and creates if accepted the sound records with the new "voice". Besides it can play the newly created file once.
Function that proposes and creates if accepted the sound record with the new "voice". Besides it can play the newly created file once. It is used in the
createAndPlayFs
function internally and recursively.