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 close to proper Ukrainian speech (if you pronounce sounds properly) with your own recorded voice.
Synopsis
- produceSound :: FilePath -> IO ()
- beginProcessing :: FilePath -> FilePath -> String -> IO ()
- tempS :: String -> IO Double
- cleanCreatedSoundFs :: IO ()
- createAndPlayFs :: IO ()
- main6Ukr :: IO ()
Documentation
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.
beginProcessing :: FilePath -> FilePath -> String -> IO () Source #
Function beginProcessing
is used to catch the variant where the sound is fully cut by the SoX because the sound was created in inappropriate time.
It returns the process to the beginning of the sound recording.
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.