packages feed

mmsyn7ukr 0.12.0.2 → 0.12.0.3

raw patch · 4 files changed

+51/−32 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -184,3 +184,7 @@ ## 0.12.0.2 -- 2020-01-29  * Twelfth version revised B. Fixed issue with possible zero input for the sox noise reduction. Now the result is replaced with 0.01. Some documentation improvements.++## 0.12.0.3 -- 2020-01-30++* Twelfth version revised C. Fixed issues with inexact documentation and informational messages. Improved stylistics. Some documentation improvements.
Processing_mmsyn7ukr.hs view
@@ -173,17 +173,22 @@     ; 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 resample the audio to the needed 22050 Hz and adjusts the amlitude; "-    ; putStrLn "1 -> after the noise reduction the program additionally to the 0-processing truncates the silence from the beginning and end of the audio to the level given by the second command line parameter; "+    ; putStrLn "0 -> after the noise reduction the program only resamples the audio to the needed 22050 Hz and adjusts the amlitude; "+    ; 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 ""     ; putStrLn "If you specified as a second command line argument one of the numbers below the program behaves as follows: "-    ; putStrLn "0 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.01; "-    ; putStrLn "1 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.02; "-    ; putStrLn "2 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.04; "-    ; putStrLn "3 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.08; "-    ; putStrLn "_ -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.04; "+    ; putStr "0 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+    ; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.01;"+    ; putStr "1 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+    ; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.02;"   +    ; putStr "2 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+    ; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.04;"   +    ; putStr "3 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+    ; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.08;"   +    ; putStr "_ -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+    ; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.04."        ; putStrLn ""     ; let noiseMax = getBFst' (2::Int, V.fromList [("0", 0::Int), ("1", 1::Int), ("2", 2::Int), ("3", 3::Int)]) noiseLim      ; produceSound3 (actsctrl, noiseLim) (file, file1) soundUkr (noiseMax, duration0) lim0@@ -244,18 +249,23 @@ ; 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 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 "3 -> after the noise reduction the program additionally to the 2-processing applies fade-in and fade-out effects to the audio; " ; putStrLn "_ -> is the same as 3. " ; putStrLn "" ; putStrLn "If you specified as a second command line argument one of the numbers below the program behaves as follows: "-; putStrLn "0 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.01; "-; putStrLn "1 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.02; "-; putStrLn "2 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.04; "-; putStrLn "3 -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.08; "-; putStrLn "_ -> the maximum amplitude, starting from which the file will not be trimmed for the first command line argument greater of 1, is 0.04; "+; putStr "0 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.01;"+; putStr "1 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.02;"   +; putStr "2 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.04;"   +; putStr "3 -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.08;"   +; putStr "_ -> the amplitude of the audio signal in the recorded sound to be included in the resulting file (starting from which the file will "+; putStrLn "not be trimmed for the first command line argument greater than 1) is 0.04."    ; putStrLn "" ; let noiseMax = getBFst' (2::Int, V.fromList [("0", 0::Int), ("1", 1::Int), ("2", 2::Int), ("3", 3::Int)]) noiseLim  ; produceSound3 (actsctrl, noiseLim) (file, file1) soundUkr (noiseMax, duration0) lim0
README.markdown view
@@ -103,19 +103,19 @@ by the program as a fractional part of the number "0." ++ "..."  so that the last number is passed to the sox as an amount parameter in the "noisered" effect (the greater number gives more aggressive -noise reduction with the default one equal to 0.5.+noise reduction with the default one equal to 0.5). For more information, please, refer to the SoX documentation.   Therefore, if you specify as a first symbol in the first command line argument one of the next numbers, then the program will behave as follows: -    0 -> after the noise reduction the program only resample -      the audio to the needed 22050 Hz and adjusts the amlitude;+    0 -> after the noise reduction the program only resamples +      the audio to the needed 22050 Hz and adjusts the amplitude;            1 -> after the noise reduction the program additionally        to the 0-processing truncates the silence from the beginning -       and end of the audio to the level given by the second +       and the end of the audio to the level given by the second          command line parameter;              2 -> after the noise reduction the program additionally to @@ -131,25 +131,30 @@ If you specify as a second command line argument one of the numbers below the program behaves as follows: -    0 -> the maximum amplitude, starting from which the file will +    0 -> the amplitude of the audio signal in the recorded sound+      to be included in the resulting file (starting from which the file will        not be trimmed for the first command line argument greater -       of 1, is 0.01;+       than 1) is 0.01;        -    1 -> the maximum amplitude, starting from which the file -      will not be trimmed for the first command line argument -       greater of 1, is 0.02;+    1 -> the amplitude of the audio signal in the recorded sound+      to be included in the resulting file (starting from which the file will +      not be trimmed for the first command line argument greater +       than 1) is 0.02;        -    2 -> the maximum amplitude, starting from which the file -      will not be trimmed for the first command line argument -       greater of 1, is 0.04;+    2 -> the amplitude of the audio signal in the recorded sound+      to be included in the resulting file (starting from which the file will +      not be trimmed for the first command line argument greater +       than 1) is 0.04;        -    3 -> the maximum amplitude, starting from which the file -      will not be trimmed for the first command line argument -       greater of 1, is 0.08;+    3 -> the amplitude of the audio signal in the recorded sound+      to be included in the resulting file (starting from which the file will +      not be trimmed for the first command line argument greater +       than 1) is 0.08;        -    _ -> the maximum amplitude, starting from which the file -      will not be trimmed for the first command line argument -       greater of 1, is 0.04; +    _ -> the amplitude of the audio signal in the recorded sound+      to be included in the resulting file (starting from which the file will +      not be trimmed for the first command line argument greater +       than 1) is 0.04;   If you specify the third command line argument, it must be a list  of Strings that can be obtained by executing the
mmsyn7ukr.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                mmsyn7ukr-version:             0.12.0.2+version:             0.12.0.3 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