packages feed

mmsyn7ukr 0.12.0.4 → 0.12.0.5

raw patch · 5 files changed

+23/−21 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -192,3 +192,7 @@ ## 0.12.0.4 -- 2020-01-30  * Twelfth version revised D. Fixed issues with inexact documentation and informational messages. Improved stylistics. Some documentation improvements.++## 0.12.0.5 -- 2020-02-08++* Twelfth version revised E. Fixed issues with the wrong spelling of the word 'amplitude'. Fixed issues with deprecated documentation for Control.Exception.FinalException module.
Control/Exception/FinalException.hs view
@@ -3,7 +3,6 @@ -- Copyright   :  (c) OleksandrZhabenko 2020 -- License     :  MIT -- Stability   :  Experimental---  -- Maintainer  :  olexandr543@yahoo.com -- -- A program and a library that can be used as a simple @@ -59,9 +58,8 @@   show (DataSoundFileNotRead xs) = "Data sound file " ++ show xs ++ " is not read!"  ++ (if nativeNewline == CRLF then "\r\n" else "\n")  -- | Function to work with exception 'FinalException' similarly to the example in the documentation for the 'catch' function. It throws an exception--- to the thread where it is called. Basically, the function is intended to terminate the program with the informational message (if used in the main thread--- without exception handler). Because 'NeededInfoIsShown' is exception that actually only is a signal that the needed information is given and is not--- any exceptional but rather standard situation the output of the function in such a case is printed to the 'stdout' handle (with the default to 'stderr'+-- to the thread where it is called. 'NeededInfoIsShown' is an exception that actually only signals that the needed information is given and is not+-- any exceptional but rather standard situation, so the output of the function in such a case is printed to the 'stdout' handle (with the default to 'stderr' -- in all other cases).  catchEnd :: FinalException -> IO () catchEnd e = do
Processing_mmsyn7ukr.hs view
@@ -173,14 +173,14 @@     ; putStrLn "noise reduction with the default one equal to 0.5. For more information, please, refer to the SoX documentation. "     ; putStrLn ""     ; putStrLn "Therefore, if you specify as a first symbol in the first command line argument one of the following numbers, then the program will behave: "-    ; putStrLn "0 -> after the noise reduction the program only resamples the audio to the needed 22050 Hz and adjusts the amlitude; "+    ; putStrLn "0 -> after the noise reduction the program only resamples the audio to the needed 22050 Hz and adjusts the amplitude; "     ; putStrLn "1 -> after the noise reduction the program additionally to the 0-processing truncates the silence from the beginning and the end of the audio to the level given by the second command line parameter; "     ; putStrLn "2 -> after the noise reduction the program additionally to the 1-processing applies a double band-reject filter to the audio (SoX \"sinc\" effect); "     ; putStrLn "_ -> after the noise reduction the program additionally to the 2-processing applies fade-in and fade-out effects to the audio; "     ; putStrLn ""     ; putStr "0 -> if the first character in the first command line argument is greater or equal to 1, "     ; putStr "then the program trims the sound at the beginning and at the end of it. "-    ; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+    ; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) "     ; putStr "and then applies trimming. The parts of the audio at the beginning "     ; putStr "and at the end of the sound, which amplitudes in such a case are "     ; putStr "less than 0.01 are trimmed and the resulting sound data are processed "@@ -188,7 +188,7 @@     ; putStrLn ""     ; putStr "1 -> if the first character in the first command line argument is greater or equal to 1, "     ; putStr "then the program trims the sound at the beginning and at the end of it. "-    ; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+    ; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) "     ; putStr "and then applies trimming. The parts of the audio at the beginning "     ; putStr "and at the end of the sound, which amplitudes in such a case are "     ; putStr "less than 0.02 are trimmed and the resulting sound data are processed "@@ -196,7 +196,7 @@     ; putStrLn ""     ; putStr "2 -> if the first character in the first command line argument is greater or equal to 1, "     ; putStr "then the program trims the sound at the beginning and at the end of it. "-    ; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+    ; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) "     ; putStr "and then applies trimming. The parts of the audio at the beginning "     ; putStr "and at the end of the sound, which amplitudes in such a case are "     ; putStr "less than 0.04 are trimmed and the resulting sound data are processed "@@ -204,7 +204,7 @@     ; putStrLn ""     ; putStr "3 -> if the first character in the first command line argument is greater or equal to 1, "     ; putStr "then the program trims the sound at the beginning and at the end of it. "-    ; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+    ; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) "     ; putStr "and then applies trimming. The parts of the audio at the beginning "     ; putStr "and at the end of the sound, which amplitudes in such a case are "     ; putStr "less than 0.08 are trimmed and the resulting sound data are processed "@@ -212,7 +212,7 @@     ; putStrLn ""     ; putStr "_ -> if the first character in the first command line argument is greater or equal to 1, "     ; putStr "then the program trims the sound at the beginning and at the end of it. "-    ; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+    ; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) "     ; putStr "and then applies trimming. The parts of the audio at the beginning "     ; putStr "and at the end of the sound, which amplitudes in such a case are "     ; putStr "less than 0.04 are trimmed and the resulting sound data are processed "@@ -285,7 +285,7 @@ ; putStrLn "" ; putStr "0 -> if the first character in the first command line argument is greater or equal to 1, " ; putStr "then the program trims the sound at the beginning and at the end of it. "-; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) " ; putStr "and then applies trimming. The parts of the audio at the beginning " ; putStr "and at the end of the sound, which amplitudes in such a case are " ; putStr "less than 0.01 are trimmed and the resulting sound data are processed "@@ -293,7 +293,7 @@ ; putStrLn "" ; putStr "1 -> if the first character in the first command line argument is greater or equal to 1, " ; putStr "then the program trims the sound at the beginning and at the end of it. "-; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) " ; putStr "and then applies trimming. The parts of the audio at the beginning " ; putStr "and at the end of the sound, which amplitudes in such a case are " ; putStr "less than 0.02 are trimmed and the resulting sound data are processed "@@ -301,7 +301,7 @@ ; putStrLn "" ; putStr "2 -> if the first character in the first command line argument is greater or equal to 1, " ; putStr "then the program trims the sound at the beginning and at the end of it. "-; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) " ; putStr "and then applies trimming. The parts of the audio at the beginning " ; putStr "and at the end of the sound, which amplitudes in such a case are " ; putStr "less than 0.04 are trimmed and the resulting sound data are processed "@@ -309,7 +309,7 @@ ; putStrLn "" ; putStr "3 -> if the first character in the first command line argument is greater or equal to 1, " ; putStr "then the program trims the sound at the beginning and at the end of it. "-; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) " ; putStr "and then applies trimming. The parts of the audio at the beginning " ; putStr "and at the end of the sound, which amplitudes in such a case are " ; putStr "less than 0.08 are trimmed and the resulting sound data are processed "@@ -317,7 +317,7 @@ ; putStrLn "" ; putStr "_ -> if the first character in the first command line argument is greater or equal to 1, " ; putStr "then the program trims the sound at the beginning and at the end of it. "-; putStr "It firstly normalizes the sound (so its maximum aplitude is equal to 1) "+; putStr "It firstly normalizes the sound (so its maximum amplitude is equal to 1) " ; putStr "and then applies trimming. The parts of the audio at the beginning " ; putStr "and at the end of the sound, which amplitudes in such a case are " ; putStr "less than 0.04 are trimmed and the resulting sound data are processed "
README.markdown view
@@ -133,7 +133,7 @@      0 -> if the first character in the first command line argument is greater or equal to 1,       then the program trims the sound at the beginning and at the end of it.-        It firstly normalizes the sound (so its maximum aplitude is equal to 1)+        It firstly normalizes the sound (so its maximum amplitude is equal to 1)           and then applies trimming. The parts of the audio at the beginning             and at the end of the sound, which amplitudes in such a case are               less than 0.01 are trimmed and the resulting sound data are processed@@ -141,7 +141,7 @@             1 -> if the first character in the first command line argument is greater or equal to 1,       then the program trims the sound at the beginning and at the end of it.-        It firstly normalizes the sound (so its maximum aplitude is equal to 1)+        It firstly normalizes the sound (so its maximum amplitude is equal to 1)           and then applies trimming. The parts of the audio at the beginning             and at the end of the sound, which amplitudes in such a case are               less than 0.02 are trimmed and the resulting sound data are processed@@ -149,7 +149,7 @@             2 -> if the first character in the first command line argument is greater or equal to 1,       then the program trims the sound at the beginning and at the end of it.-        It firstly normalizes the sound (so its maximum aplitude is equal to 1)+        It firstly normalizes the sound (so its maximum amplitude is equal to 1)           and then applies trimming. The parts of the audio at the beginning             and at the end of the sound, which amplitudes in such a case are               less than 0.04 are trimmed and the resulting sound data are processed@@ -157,7 +157,7 @@             3 -> if the first character in the first command line argument is greater or equal to 1,       then the program trims the sound at the beginning and at the end of it.-        It firstly normalizes the sound (so its maximum aplitude is equal to 1)+        It firstly normalizes the sound (so its maximum amplitude is equal to 1)           and then applies trimming. The parts of the audio at the beginning             and at the end of the sound, which amplitudes in such a case are               less than 0.08 are trimmed and the resulting sound data are processed@@ -165,7 +165,7 @@             _ -> if the first character in the first command line argument is greater or equal to 1,       then the program trims the sound at the beginning and at the end of it.-        It firstly normalizes the sound (so its maximum aplitude is equal to 1)+        It firstly normalizes the sound (so its maximum amplitude is equal to 1)           and then applies trimming. The parts of the audio at the beginning             and at the end of the sound, which amplitudes in such a case are               less than 0.04 are trimmed and the resulting sound data are processed
mmsyn7ukr.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                mmsyn7ukr-version:             0.12.0.4+version:             0.12.0.5 synopsis:            A simple basic interface to some SoX functionality or to produce a voice that can be used by mmsyn7h description:         A program and a library that can be used as a simple basic interface to some SoX functionality or to produce your voice in Ukrainian (if you pronounce the sounds properly) represented by the separate sounds or something special like soft sign. homepage:            https://hackage.haskell.org/package/mmsyn7ukr