# mmsyn7l: Modifies the amplitudes of the Ukrainian sounds representations created by mmsyn7ukr package.

A program and a library to modify the amplitudes of the Ukrainian sounds representations created by mmsyn7ukr package or somehow otherwise.

Versions [faq] 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.4.1.0, 0.4.2.0 (info) CHANGELOG.md base (>=4.7 && <4.14), directory (>=1.2.7 && <2), mmsyn2 (>=0.1.7 && <1), mmsyn7ukr (>=0.15.3 && <1), vector (>=0.11 && <0.14) [details] MIT (c) OleksandrZhabenko 2020 olexandr543@yahoo.com Sound https://hackage.haskell.org/package/mmsyn7l by OleksandrZhabenko at Wed Mar 25 13:48:13 UTC 2020 NixOS:0.4.2.0 mmsyn7l 760 total (266 in the last 30 days) (no votes yet) [estimated by Bayesian average] λ λ λ Docs available Last success reported on 2020-03-25

## Modules

[Index] [Quick Jump]

#### Maintainer's Corner

For package maintainers and hackage trustees

[back to package description]
        ***** Usage Notes *****
-----------------------


For the proper proceeding you specify a String, which consists of 4 digits (and it may be preceded by a symbol "-"). If the String begins with the "-", then a sound amplitude decreases, otherwise the amplitude increases. The level of increase / decrease is determined by the magnitude of the absolute value of integer numbers. The greater is the number -- the greater is the amplitude change. The count begins with "0000" and ends with "9999" (the sign is not taken into consideration). If there is less than 4 digits in a String, then the String is equivalent to that one with the appropriate number of zeroes preceding to fulfill to the 4 needed digits (for example, "657" is equivalent to "0657", "-2" is equivalent to "-0002" etc.). In such a case, for the Strings without the initial sign "-" (the sound increases) an interval between the maximum by modulus value of the amlitude (which is represented by the parts of 1) and 1.0 is divided into 10 equal parts (starting a count from 0) and then that one of them is selected, which has a number determined by the first digit in the String writing. Then (if specified further) the interval between this amplitude value and a value, which corresponds to the selection on the previous step the next first digit in the writing (for example, after "4" -- "5", after "7" --"8" etc.), greater by 1 than the actually selected one, is also divided again into 10 equal parts and that one is selected, which corresponds to the number determined by the second digit in the String writing (again beginning with "0" and ending with "9") and so on until the 4th level. The greater exactness is not needed because our hearing ability hardly distinguish such a subtle sound changes. If the String has as a first element the "-" Char (the sound decreases), then everything is analogously the same, but an interval between the maximum by modulus amplitude value and 0.0 is divided into 10 equal parts and so on.

     ***** Command Line Arguments *****
----------------------------------


If you specify a command line argument (other than "-h", "-r", or "-v"), it must be a sorted list of the Ukrainian sounds representations, which can be obtained by using the mmsyn7s package. For more information, please, refer to: mmsyn7s.

In such a case, the program will modify only the amplitudes for those Ukrainian sounds representations, which are in the list. Otherwise, the program will modify the amplitudes for all non-silent Ukrainian sounds representations in the current directory.

The "-h" command line argument is used for the help informational message.

The "-v" command line argument is used for the version number.

The "-r" command line argument is used to work with "result*.wav" files to adjust their volume. You can additionally specify the numbers for the first and for the last files to be adjusted.