mmsyn7h-0.4.0.0: Produces a sound recording specified by the Ukrainian text.

Copyright(c) OleksandrZhabenko 2019-2020
LicenseMIT
Maintainerolexandr543@yahoo.com
Safe HaskellNone
LanguageHaskell2010

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

Documentation

main7h :: IO () Source #

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.