A program and a library to create experimental music from
a mono audio and a Ukrainian text. It can also create a timbre
for the notes.
***** Usage *****
-----------------
You can use it as a library or an executable.
Please, check before executing whether there is no "x.wav", "test*.wav",
"result*.wav" and "end.wav" files in the current directory, because they
can be overwritten. The same can be said about "nx*.wav" files in the directory.
For the executable you enter in the terminal:
dobutokO2 {1 | 2 | 3 | 4 | 5 | 6} {fileName} {Ukrainian text}
where filename is:
the full name of the file to be recorded in the current directory or
the full absolute path to the sound .wav file (or other one format
that is supported by your SoX installation) to obtain sound information from.
If the first command line argument equals to "1", or "3", or "5", then the executable
uses the oberTones funcions, so for the given parameters the obertones
are the same for every call. The "3" adittionally gives an opportunity
to specify the signs for the harmonics coefficients for obertones by additional
String. And the "5" additionally to that one functionality provided by "3" gives
an opportunity to specify in how many times the amplitude for the second lower note
(if any) is greater, than the amplitude for the main note and specify the intervals
to be used for every note. Otherwise, the executable uses uniqOberTones functions, which
can have different obertones because of the provided the second, additional,
text. The third one is used to generate the obertones. In such a case, another
text gives the other obertones. If you specify something else, except "1", or "3",
or "5", then the program uses uniqOberTones functions and (similarly to "3" option)
it uses additional String to define signs for the harmonics coefficients for obertones.
If you specify the "6" option, then the program behaves like for the "5" option,
but generates obertones using additional String.
After the program executing (it takes some time) there is a file "end.wav" in the directory.
This is the resulting melody generated.
The program now lifts the frequencies to the octave with the number, which you
can specify during its execution.
You can specify some control parameters during the program execution. This
leads to different sounding.
You can use the default values (backward compatible with the 0.2.0.0 version)
by simply pressing 'Enter' while being prompted and the informational message
contains the line about the default value.
** Note:
- Better to execute in the RAM. Need rather a lot of space on the disk for
the resulting file "end.wav" and auxiliary files (MBs) for a short sound
in the second command line arguments.