Copyright | (c) OleksandrZhabenko 2020 2024 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Helps to create experimental music from a file (or its part) and a Ukrainian text. It can also generate a timbre for the notes. Uses SoX inside.
Basic functions for the executable
Function that actually makes processing in the dobutokO2
executable. Please, check before executing
whether there is no "x.wav", "test*", "result*" and "end*" files in the current directory, because they can be overwritten.
dobutokO2H7 :: Bool -> String -> FilePath -> IO () Source #
Used to obtain one multiline specially formatted textual input and do the full processment for the sound.
The function generates overtones using additional String
and allows maximum control over the parameters.
Besides, all the needed information it obtains from the singular formatted input, which can be ended
with a keyboard keys combination that means an end of input (e. g. for Unices, that is probably Ctrl + D).
'@' are separators for the input parts for their respective parts. For more information about the
format of the single input, see:
'https://drive.google.com/open?id=10Z_GRZR4TKoL5KXfqPm-t-4humuHN0O4'
The file is also provided with the package as text.dat.txt. The last two or three inputs (an input just here means a textual input between two '@') can be omitted, the program will work also but with less control for the user possible.