dobutokO2 0.45.1.0 → 0.45.1.1
raw patch · 3 files changed
+7/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−1
- DobutokO/Sound/Aftovolio/Ukrainian/Filter.hs +2/−2
- dobutokO2.cabal +1/−1
CHANGELOG.md view
@@ -412,4 +412,7 @@ ## 0.45.1.0 -- 2025-02-16 * Fourty-fifth version revised A. Fixed issue with empty export of the module DobutokO.Sound.Aftovolio.Ukrainian.Filter.- ++ ## 0.45.1.1 -- 2025-02-16++* Fourty-fifth version revised B. Fixed issues with documentation for the module DobutokO.Sound.Aftovolio.Ukrainian.Filter and case of empty last argument.
DobutokO/Sound/Aftovolio/Ukrainian/Filter.hs view
@@ -49,11 +49,11 @@ -> [Double] -- ^ A list of 'Double' values representing quantization parameters. The resulting list will contain just the values from this list. -> String -- ^ A 'String' containing the Ukrainian text to be processed. This text is split into words and passed to the external executable @aftovolioUkr@. -> [String] -- ^ A list of additional command-line arguments (['String']) to be forwarded to the @aftovolioUkr@ executable.- -> [String] -- ^ A list of 'String' values representing selected line numbers or indices to influence the processing of the Ukrainian text. If empty then the whole output is used without selection. If specified in the modes without tests and file single line output changes the output so that just the lines with the specified Int numbers are displayed in the order of the specified numbers. Please, delimit the numbers with spaces. To specify some range, use just dash as here: \'34-250\' meaning that lines with numbers between 34 and 250 inclusively will be displayed. The output preverves music mode additional information as well here.+ -> [String] -- ^ A list of 'String' values representing selected line numbers or indices to influence the processing of the Ukrainian text. If empty then the whole output is used without selection. If specified in the modes without tests and file single line output changes the output so that just the lines with the specified Int numbers are displayed in the order of the specified numbers. To specify some range, use just dash as here: \"34-250\" meaning that lines with numbers between 34 and 250 inclusively will be displayed. The output preserves music mode additional information as well here. -> IO [Double] quantizeDurationsBasedOnUkrainianText file k quants ukrstrs argss lineNumbersSels = do syllableDurationsDs <- readSyllableDurations file- (code, stdout0, strerr0) <- readProcessWithExitCode (fromJust (showE "aftovolioUkr")) (argss ++ concat [["+nm"], lineNumbersSels, ["-nm"]] ++ words ukrstrs) ""+ (code, stdout0, strerr0) <- readProcessWithExitCode (fromJust (showE "aftovolioUkr")) (argss ++ concat [["+nm"], if null lineNumbersSels then ["1-400000"] else lineNumbersSels, ["-nm"]] ++ words ukrstrs) "" if code == ExitSuccess then do let basicDurations = map fromIntegral . read3 (not . null . filter (not . isSpace))
dobutokO2.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: dobutokO2-version: 0.45.1.0+version: 0.45.1.1 synopsis: Helps to create experimental music from a file (or its part) and a Ukrainian text. description: It can also generate a timbre for the notes. Uses SoX inside. homepage: https://hackage.haskell.org/package/dobutokO2