Copyright | (c) OleksandrZhabenko 2025 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
DobutokO.Sound.Aftovolio.Ukrainian.Filter
Contents
Description
Provides an easy way to create some rhythmic patterns from a Ukrainian text.
Uses aftovolioUkr executable inside from the aftovolio
package.
Library and executable functions
quantizeDurationsBasedOnUkrainianText Source #
Arguments
:: FilePath | A |
-> Int | An |
-> [Double] | A list of |
-> String | A |
-> [String] | A list of additional command-line arguments ([ |
-> [String] | A list of |
-> IO [Double] |
quantizeDurationsBasedOnUkrainianText
processes and quantizes syllable durations derived from a Ukrainian text that can be further used by DobutokO modules for creating music and sound patterns or timbre.
This function performs several steps to produce a list of quantized durations.
It reads syllable durations, invoke aftovolioUkr executable with argements, processes and parses output and makes quantization of the result.
In the event that the external process does not exit successfully, the function writes the error message to stderr and returns an empty list.