mmsyn7l 0.3.0.0 → 0.3.1.0
raw patch · 4 files changed
+11/−8 lines, 4 filesdep ~mmsyn7ukrPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: mmsyn7ukr
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- MMSyn7l.hs +3/−3
- Main.hs +1/−2
- mmsyn7l.cabal +3/−3
CHANGELOG.md view
@@ -39,3 +39,7 @@ ## 0.3.0.0 -- 2020-01-28 * Third version. Changed the dependency bounds. Added the support for informational messages. Some documentation improvements.++## 0.3.1.0 -- 2020-01-28++* Third version revised A. Changed errors to exceptions. Some documentation improvements.
MMSyn7l.hs view
@@ -2,7 +2,6 @@ -- Module : MMSyn7l -- Copyright : (c) OleksandrZhabenko 2020 -- License : MIT--- -- Stability : Experimental -- Maintainer : olexandr543@yahoo.com --@@ -18,6 +17,7 @@ import qualified Data.Vector as V import Control.Exception (onException) import CaseBi (getBFst')+import Control.Exception.FinalException -- | Function 'changeVolume' is used to change the amplitude of the sound. -- For the proper proceeding you specify a @String@, which consists of 4 @@ -130,7 +130,7 @@ coefA = 0.0001 * fromIntegral (read ys::Int) ratio = 1.0 + (delta / ampl) * coefA SB1.volS file (ratio * ampl)- else error "SoXBasics1: the volS function gave a strange result!"+ else catchEnd (StrangeAnswer "SoXBasics1" "volS") -- | Function 'changeVol4' is used internally in the 'specifyVol' in case of working with the minimum amplitude. changeVol4 :: FilePath -> (String, String) -> IO ()@@ -147,5 +147,5 @@ coefA = 0.0001 * fromIntegral (read ys::Int) ratio = 1.0 + (delta / ampl) * coefA SB1.volS file (ratio * ampl)- else error "SoXBasics1: the volS function gave a strange result!"+ else catchEnd (StrangeAnswer "SoXBasics1" "volS")
Main.hs view
@@ -2,7 +2,6 @@ -- Module : Main -- Copyright : (c) OleksandrZhabenko 2020 -- License : MIT--- -- Stability : Experimental -- Maintainer : olexandr543@yahoo.com --@@ -45,7 +44,7 @@ putStrLn "given sound representations. If not specified, the program modifies the amplitudes for all non-pause Ukrainian sounds representations." putStrLn "" ("-v":_) -> do- putStrLn "mmsyn7l version: 0.3.0.0"+ putStrLn "mmsyn7l version: 0.3.1.0" putStrLn "" _ -> do putStrLn "Now you can change the amplitude of the needed sound representations of the Ukrainian sounds (or something similar). "
mmsyn7l.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: mmsyn7l-version: 0.3.0.0+version: 0.3.1.0 synopsis: Modifies the amplitudes of the Ukrainian sounds representations created by mmsyn7ukr package. description: A program and a library to modify the amplitudes of the Ukrainian sounds representations created by mmsyn7ukr package or somehow otherwise. homepage: https://hackage.haskell.org/package/mmsyn7l@@ -20,7 +20,7 @@ exposed-modules: Main, MMSyn7l -- other-modules: -- other-extensions:- build-depends: base >=4.7 && <4.14, mmsyn7ukr >=0.10 && <1, vector >=0.11 && <0.14, mmsyn2 >=0.1.7 && <1+ build-depends: base >=4.7 && <4.14, mmsyn7ukr >=0.11 && <1, vector >=0.11 && <0.14, mmsyn2 >=0.1.7 && <1 -- hs-source-dirs: default-language: Haskell2010 @@ -28,6 +28,6 @@ main-is: Main.hs -- other-modules: -- other-extensions:- build-depends: base >=4.7 && <4.14, mmsyn7ukr >=0.10 && <1, vector >=0.11 && <0.14, mmsyn2 >=0.1.7 && <1+ build-depends: base >=4.7 && <4.14, mmsyn7ukr >=0.11 && <1, vector >=0.11 && <0.14, mmsyn2 >=0.1.7 && <1 -- hs-source-dirs: default-language: Haskell2010