| Copyright | (c) OleksandrZhabenko 2019-2020 |
|---|---|
| License | MIT |
| Maintainer | olexandr543@yahoo.com |
| Safe Haskell | None |
| Language | Haskell2010 |
MMSyn7h
Description
An additional program that is used with the mmsyn7ukr executable as a sound creator with the voice given by the files in the current directory. It is very similar to the Main.hs of the mmsyn6ukr package.
Synopsis
- main7h :: IO ()
- appendS16LEFile :: Vector String -> Handle -> IO ()
- appendS16LEFileList :: (Vector String, [String]) -> Handle -> IO ()
- cleanCreatedSoundFs :: IO ()
Documentation
Function that proposes and creates if accepted the sound record with the new "voice". Besides it can play the newly created file once and can delete
the sound files in the current directory. If you specify the second command line argument "s" and then a list of String represented the Ukrainian sounds,
then the program will use only these sounds representations additionally to the default ones "-.wav", "0.wav" and "1.wav".
appendS16LEFile :: Vector String -> Handle -> IO () Source #
The function that actually produces a .raw file. The mapping table is given in the Map.txt file, but the sound duration differs.
appendS16LEFileList :: (Vector String, [String]) -> Handle -> IO () Source #
The function that actually produces a .raw file. The mapping table is given in the Map.txt file, but the sound duration differs.
The [String] parameter is a sorted list of Ukrainian sounds to be used (for example, it can be obtained with mmsyn7s executable from the same name 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.