| Copyright | (c) OleksandrZhabenko 2019 |
|---|---|
| License | MIT |
| Maintainer | olexandr543@yahoo.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Processing_mmsyn7ukr
Description
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 :: (String, String) -> FilePath -> IO ()
- produceSound3 :: (String, String) -> (FilePath, FilePath) -> String -> (Int, Double) -> Double -> IO ()
- produceSound2 :: (FilePath, FilePath) -> (String, String) -> String -> IO ()
- beginProcessing :: FilePath -> FilePath -> String -> (String, String) -> IO ()
- tempS :: String -> IO Double
- cleanTemp :: IO ()
Documentation
produceSound :: (String, String) -> FilePath -> IO () Source #
Function that being given a tuple of String and a path to the installed by the mmsyn6ukr package file produces the corresponding analogous sound with your created
voicing.. The tuple control the function behaviour. The first String in it specifies the actions that will be performed to produce a sound file and the second one
specifies a maximum absolute amplitude starting from which the sound will not be truncated if the alterVadB and alterVabE functions must be applied (that is specified
by the first String parameter).
produceSound3 :: (String, String) -> (FilePath, FilePath) -> String -> (Int, Double) -> Double -> IO () Source #
Function produceSound3 is used internally in the produceSound2 function.
produceSound2 :: (FilePath, FilePath) -> (String, String) -> String -> IO () Source #
Function produceSound2 is used internally in the produceSound function.
beginProcessing :: FilePath -> FilePath -> String -> (String, 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. For the meaning of the tuple of Sring parameters, refer to produceSound documentation.