mmsyn7h 0.5.1.0 → 0.6.0.0
raw patch · 4 files changed
+13/−7 lines, 4 filesdep +mmsyn7ukrPVP ok
version bump matches the API change (PVP)
Dependencies added: mmsyn7ukr
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- MMSyn7h.hs +4/−3
- README +1/−1
- mmsyn7h.cabal +3/−3
ChangeLog.md view
@@ -59,3 +59,8 @@ ## 0.5.1.0. -- 2020-01-16 * Fifth version revised A. Fixed issue with threads. Now, mmsyn7h must run without blocking the other Haskell threads.++## 0.6.0.0. -- 2020-01-24++* Sixth version. Changed the behaviour for the giving information. Now the package uses 'catchEnd' function from the mmsyn7ukr package.+Besides, the last one now is a dependency for the package.
MMSyn7h.hs view
@@ -12,7 +12,7 @@ module MMSyn7h where -import Control.Concurrent (myThreadId, killThread)+import Control.Concurrent (myThreadId) import Data.Char (isSpace, isControl) import Data.Maybe (isJust, fromJust) import System.IO@@ -29,6 +29,7 @@ import CaseBi (getBFst') import System.Info (os) import MMSyn7s (show7s)+import Processing_mmsyn7ukr (SuccessfulEndOfInfo, catchEnd) -- | Function that proposes and creates if accepted the sound record with the new \"voice\". It plays the newly created file once. Then it can delete -- the sound files in the current directory while being executed if the entered text starts with \"0\". If you enter as a first command line argument \"-h\",@@ -66,13 +67,13 @@ putStr "If \"-h\" is specified, then you will see this message. If \"-v\" is specified, then you will see the version of the package mmsyn7h. " putStrLn "If something else is specified then the program runs further. " threadId <- myThreadId- killThread threadId+ catchEnd threadId let nameSF = "" return (args, nameSF) "-v" -> do putStrLn "mmsyn7h version 0.5.0.0." threadId <- myThreadId- killThread threadId+ catchEnd threadId let nameSF = "" return (args, nameSF) nameOfSoundFile -> do
README view
@@ -1,4 +1,4 @@-The executable mmsyn7h is auxilary for the mmsyn7ukr package+The executable mmsyn7h is auxiliary for the mmsyn7ukr package (https://hackage.haskell.org/package/mmsyn7ukr). It works similarly to the mmsyn6ukr executable, but uses the voice sound files in the current directory. This allows to change the
mmsyn7h.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: mmsyn7h-version: 0.5.1.0+version: 0.6.0.0 synopsis: Produces a sound recording specified by the Ukrainian text. description: A program and a library that are used with mmsyn7ukr (or separately) and are similar to mmsyn6ukr executable. The program uses the data files in the current directory instead of ones in the system defined directories. It reads Ukrainian text with the given by data files sounds. homepage: https://hackage.haskell.org/package/mmsyn7h@@ -20,7 +20,7 @@ exposed-modules: MMSyn7h, Main -- other-modules: -- other-extensions:- build-depends: base >=4.7 && <4.14, process >=1.4 && <1.8, vector >=0.11 && <0.14, bytestring >=0.10 && < 0.12, mmsyn2 >=0.1.7 && <1, directory >=1.2.5 && <1.4, mmsyn6ukr >=0.6.2 && <1, mmsyn3 >=0.1.4 && <1, mmsyn7s >=0.1 && <1+ build-depends: base >=4.7 && <4.14, process >=1.4 && <1.8, vector >=0.11 && <0.14, bytestring >=0.10 && < 0.12, mmsyn2 >=0.1.7 && <1, directory >=1.2.5 && <1.4, mmsyn6ukr >=0.6.2 && <1, mmsyn3 >=0.1.4 && <1, mmsyn7s >=0.1 && <1, mmsyn7ukr >=0.9.1 && <1 -- hs-source-dirs: default-language: Haskell2010 @@ -29,7 +29,7 @@ main-is: Main.hs -- other-modules: -- other-extensions:- build-depends: base >=4.7 && <4.14, process >=1.4 && <1.8, vector >=0.11 && <0.14, bytestring >=0.10 && <0.12, mmsyn2 >=0.1.7 && <1, directory >=1.2.5 && <1.4, mmsyn6ukr >=0.6.2 && <1, mmsyn3 >=0.1.4 && <1, mmsyn7s >=0.1 && <1+ build-depends: base >=4.7 && <4.14, process >=1.4 && <1.8, vector >=0.11 && <0.14, bytestring >=0.10 && <0.12, mmsyn2 >=0.1.7 && <1, directory >=1.2.5 && <1.4, mmsyn6ukr >=0.6.2 && <1, mmsyn3 >=0.1.4 && <1, mmsyn7s >=0.1 && <1, mmsyn7ukr >=0.9.1 && <1 ghc-options: -threaded -- hs-source-dirs: default-language: Haskell2010