Copyright | (c) OleksandrZhabenko 2019 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Safe Haskell | None |
Language | Haskell2010 |
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 ()
- 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. It is used in the
createAndPlayFs
function internally and recursively.
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.
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.