h$fcd      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOP(c) OleksandrZhabenko 2020-2022MITolexandr543@yahoo.com Experimental Safe-Inferred3mmsyn7ukr-array Data type 7 is used to terminate the not needed further execution.mmsyn7ukr-array Function to work with exception 7 similarly to the example in the documentation for the Q function. It throws an exception to the thread where it is called.   (c) OleksandrZhabenko 2020-2022MITolexandr543@yahoo.com Experimental Safe-Inferredmmsyn7ukr-arrayFunction is used internally to parse a given third command line argument as a [String]; representing the Ukrainian sounds, which will be produced.mmsyn7ukr-arrayFunction is used internally to parse further the result dealt with  function.(c) OleksandrZhabenko 2019-2022MITolexandr543@yahoo.com ExperimentalNone-!mmsyn7ukr-array Function  allows to choose a maximum by absolute value if the values are written as String. Bool True corresponds to maximum value, False - to minimum valuemmsyn7ukr-array Function  returns a maximum amplitude of the sound in the file in the given lower and upper bounds represented as a tuple of Int values.mmsyn7ukr-array Function  returns a minimum amplitude of the sound in the file in the given lower and upper bounds represented as a tuple of Int values. mmsyn7ukr-array Function  returns a maximum by absolute value amplitude of the sound and allows by its second value in the tuple determine whether it is a maximum or minimum. Bool True corresponds to maximum value, False - to minimum value.mmsyn7ukr-array Function  returns a maximum or a minimum of the sound amplitude of the file depending on the Bool value given. Bool True corresponds to maximum value, False - to minimum value.mmsyn7ukr-array Function  returns an approximate sample number of the extremum, which will be used further for fade effect.mmsyn7ukr-array Function  removes an approximate silence measured by the absolute value of the sound amplitude from the beginning of the file. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). The file must have maximum amplitude absolute value close to 1 before call to the . The second Float4 parameter is used to exit the iteration cycle. The Int parameter from the range [0..3] specifies a maximum amplitude, starting from which the sound will not be trimmed.mmsyn7ukr-array Function  is used internally in the  and " functions. mmsyn7ukr-array Function  is used internally in  to check whether FilePath4 exist and if so to do some processing to allow the  function iterate further.mmsyn7ukr-array Function  applies a SoX normalization effect on the audio file. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from).mmsyn7ukr-array Function  applies a SoX gain effect on the audio file with the maximum absolute dB value given by the Int0 argument. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). mmsyn7ukr-array Function  applies a SoX "gain -b [db-Value]" effect on the audio file with dB value given by the Float0 argument. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from).!mmsyn7ukr-array Function !, prints a SoX statistics for the audio file."mmsyn7ukr-array Function " removes an approximate silence measured by the absolute value of the sound amplitude from the end of the file. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). The second Float4 parameter is used to exit the iteration cycle. The Int parameter from the range [0..3] specifies a maximum amplitude, starting from which the sound will not be trimmed.#mmsyn7ukr-array Function # returns a maximum number of samples for use in other functions.$mmsyn7ukr-arrayVariant of the function . with all the additional information included.%mmsyn7ukr-array Function % applies a fade effect by SoX to the audio file with "q" type. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from).&mmsyn7ukr-array Function & adds some silence to both ends of the audio. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from).'mmsyn7ukr-array Function ' records audio file with the given name and duration in seconds. For Windows it uses a default audio device and "-t waveaudio -d" option to the SoX.(mmsyn7ukr-array Function ( records audio file with the given name and duration in seconds. For Windows it uses a default audio device and "-t waveaudio -d" option to the SoX. Unlike ', the duration of the pause in seconds (before the SoX executable actually starts to record sound data after an initialization of the sound recording device) is controlled by the second Float function argument. )mmsyn7ukr-array Function ) changes the sample rate for the recorded audio for further processing. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from).*mmsyn7ukr-array Function *1 returns a duration of the audio file in seconds.+mmsyn7ukr-array Function + plays the given file with SoX. For Windows it uses "-t waveaudio -d" options for SoX.,mmsyn7ukr-array Function , creates with SoX a file containing a noise profile for the first 0.05 s of the audio file given.-mmsyn7ukr-array Function - creates with SoX a file containing a noise profile for the last 0.05 s of the audio file given. .mmsyn7ukr-array Function . reduces with SoX a noise in the file given with the corresponding noise profile created with ,0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from)./mmsyn7ukr-array Function / reduces with SoX a noise in the file given with the corresponding noise profile created with -0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from).0mmsyn7ukr-array Function 0 reduces with SoX a noise in the file given with the corresponding noise profile created with  noiseProfBU0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). The Float parameter is a number between 0 and 1 showing the level of reducing the noise (the greater number means that the function will reduce more intensively may be even aggressively so that for greater numbers it can remove some sensitive and important sound data as a noise). Internally this parameter is passed unchanged to the "sox" so that it uses it as an amount parameter for the "noisered" effect. Therefore, please, (as being stated in the SoX manual) experiment with the amount to get suitable results. 1mmsyn7ukr-array Function 1 reduces with SoX a noise in the file given with the corresponding noise profile created with  noiseProfEU0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). The Float parameter is a number between 0 and 1 showing the level of reducing the noise (the greater number means that the function will reduce more intensively may be even aggressively so that for greater numbers it can remove some sensitive and important sound data as a noise). Internally this parameter is passed unchanged to the "sox" so that it uses it as an amount parameter for the "noisered" effect. Therefore, please, (as being stated in the SoX manual) experiment with the amount to get suitable results. 2mmsyn7ukr-array Function 2 changes the given audio with the linear ratio for the amplitude so that the resulting amlitude is equal to the given Float0 parameter. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from).3mmsyn7ukr-array Function 3$ changes the given audio (the first FilePath2 parameter, which must be normalized e. g. by the  function before) with the linear ratio for the amplitude so that the resulting amlitude is equal to the maximum by absolute value amplitude for the file given by the second FilePath5 parameter. The function must be used with the first FilePath parameter containing no directories in its name (that means the file of the first FilePath parameter must be in the same directory where the function is called from).4mmsyn7ukr-array Function 4 uses a "sinc" effect with -a 50 -I 0.07k-11k+ band-pass filter for the audio file given.5mmsyn7ukr-array Function 5 analyzes the one samle of the 1-channel sound file (or k samples for the k-channel file) and returns a tuple pair of the maximum and minimum amplitudes of the sound given as String9s. For the 1-channel sound file they are the same. The Integer parameter is the number of the sample, starting from which SoX analyzes the sound. If it is less than number of the samples available, then the function returns the value for the last one sample for the 1-channel file (or the last k samples for the k-channel sound file). The file must not be in a RAW format for the function to work properly.! !"#$%&'()*+,-./012345!$!#*5" %&'(),-./01423+(c) OleksandrZhabenko 2019-2022MITolexandr543@yahoo.com ExperimentalNone@46mmsyn7ukr-array Function 6 is used internally in the : function.7mmsyn7ukr-array Function 7 is used internally in the 6 function for amplification up/down to the maximum level of the first FilePath parameter in the tuple. The second one gives a name of the resulting file and the third FilePath" parameter of the function is the FilePath for the input file.8mmsyn7ukr-array Function 85 is used to represent the duration of the sound file.9mmsyn7ukr-array Function 9 is used to catch the variant where the sound is fully cut by the SoX because the sound was created in inappropriate time. It returns the process to the beginning of the sound recording. For the meaning of the tuple of Sring parameters, refer to  produceSound documentation. The first FilePath in the tuple of FilePath+ parameters is a name of the sound file in mmsyn6ukr-array package. The second one is the name of the resulting file to be produced in the current directory.:mmsyn7ukr-array Function : is used internally in the  produceSound function.;mmsyn7ukr-array Function ; prints the general information about behaviour of the program in case of the different specified first two command line arguments. If in the second command line argument there is letter 's' at the end, then the printing is omitted.<mmsyn7ukr-array Function < is used in the : and 98 functions to reduce the noise with the created by the A noise profile. If you specified something else than "-1" as a first command line argument, then the program will reduce the noise using the created noise profile. If the first character is one of the following, then the program will do the following actions besides. After the first character (without any spaces) you can specify the level of noise reduction by 2 next digits. They are treated by the program as a fractional part of the number "0." ++ "..." so that the last number is passed to the SoX as an amount parameter in the "noisered" effect (the greater number gives more aggressive noise reduction with the default one equal to 0.5. For more information, please, refer to the SoX documentation. =mmsyn7ukr-arrayFunction to get the (Float, Float, Bool) value. The first Float value shows in how many times you expect that your sound representation will be longer than the one provided by the mmsyn6ukr-array package. The second one specifies a duration of the pause before SoX actually starts to record the needed sound data (in seconds). The Bool value specifies whether the program uses a 'sharp' mode meaning that it does not check whether the resulting duration of the recording is at least 3 seconds long, so you can specify shorter durations. The String arguments are the Ukrainian sound representation name and the second command line argument for the program respectively.>mmsyn7ukr-array Function > prints the additional information about the 'sharp' mode and the possibility to specify the duration of the pause before the SoX executable actuall starts recording of the sound representation. If in the second command line argument there is letter 's' at the end, then the printing is omitted.?mmsyn7ukr-array Function ? removes all the intermediate temporary files in the directory where it is called from.@mmsyn7ukr-array Function @ removes all the intermediate temporary files produced during a noise profile creation in the directory where it is called from.Ammsyn7ukr-array Function A is used to create a noise profile for all the recorded sounds. The function is used internally in the  mmsyn7ukr program. While running if you provide a 5 seconds silence as needed, the program  mmsyn7ukr will reduce the noise in your recordings. This will create a cleaner sound. If you would like not to reduce the noise at all, then, please, specify "-1" as the first command line argument for the program  mmsyn7ukr.Bmmsyn7ukr-array Function B is used to print an advice about the speech transformation for the Ukrainian sounds that you can pronounce properly continually and so it can be better to use for their producing a 'sharp' mode.Cmmsyn7ukr-array Function C prints once the general information if in the second command line argument there is no letter 's' at the end.6789:;<=>?@ABC:679<=8AC;>B?@(c) OleksandrZhabenko 2020-2022MITolexandr543@yahoo.com ExperimentalNoned Dmmsyn7ukr-array Function D applies a SoX normalization effect on the audio file. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Emmsyn7ukr-array Function E applies a SoX gain effect on the audio file with the maximum absolute dB value given by the Int0 argument. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Fmmsyn7ukr-array Function E applies a SoX "gain -b [db-Value]" effect on the audio file with dB value given by the Float0 argument. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Gmmsyn7ukr-array Function G applies a fade effect by SoX to the audio file with "q" type. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Hmmsyn7ukr-array Function H adds some silence to both ends of the audio. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Immsyn7ukr-array Function I changes the sample rate for the recorded audio for further processing. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Jmmsyn7ukr-array Function J reduces with SoX a noise in the file given with the corresponding noise profile created with  noiseProfB0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Kmmsyn7ukr-array Function K reduces with SoX a noise in the file given with the corresponding noise profile created with  noiseProfE0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Lmmsyn7ukr-array Function L reduces with SoX a noise in the file given with the corresponding noise profile created with  noiseProfBU0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). The Float parameter is a number between 0 and 1 showing the level of reducing the noise (the greater number means that the function will reduce more intensively may be even aggressively so that for greater numbers it can remove some sensitive and important sound data as a noise). Internally this parameter is passed unchanged to the "sox" so that it uses it as an amount parameter for the "noisered" effect. Therefore, please, (as being stated in the SoX manual) experiment with the amount to get suitable results. While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Mmmsyn7ukr-array Function M reduces with SoX a noise in the file given with the corresponding noise profile created with  noiseProfE0 function. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). The Float parameter is a number between 0 and 1 showing the level of reducing the noise (the greater number means that the function will reduce more intensively may be even aggressively so that for greater numbers it can remove some sensitive and important sound data as a noise). Internally this parameter is passed unchanged to the "sox" so that it uses it as an amount parameter for the "noisered" effect. Therefore, please, (as being stated in the SoX manual) experiment with the amount to get suitable results. While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Nmmsyn7ukr-array Function N changes the given audio with the linear ratio for the amplitude so that the resulting amlitude is equal to the given Float0 parameter. The function must be used with the FilePath parameter containing no directories in its name (that means the file of the FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Ommsyn7ukr-array Function O$ changes the given audio (the first FilePath2 parameter, which must be normalized e. g. by the D function before) with the linear ratio for the amplitude so that the resulting amlitude is equal to the maximum by absolute value amplitude for the file given by the second FilePath5 parameter. The function must be used with the first FilePath parameter containing no directories in its name (that means the file of the first FilePath parameter must be in the same directory where the function is called from). While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification.Pmmsyn7ukr-array Function P uses a "sinc" effect with -a 50 -I 0.07k-11k band-pass filter for the audio file given. While being executed the function tries to replace the initial file with the resulting processed one and to clean the temporary files. If it is not successful the function exits with exception of the type 2 and leaves the initial file without modification. DEFGHIJKLMNOP DEFGHIJKLMPNO      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI$%&+,/456789:JKL.mmsyn7ukr-array-0.1.0.0-5zoDPFbZ2mDDxA8R1ldrrv$Control.Exception.FinalException.Arr ReplaceP.Arr SoXBasics.ArrProcessing_mmsyn7ukr_arraySoXBasics1.ArrFinalExceptionExecutableNotProperlyInstalledMaybePartiallyTrimmedNotCreatedWithEffectInitialFileNotChanged NotCreated NotRecordedNoiseProfileNotCreatedBNoiseProfileNotCreatedE NotEnoughDataNotCreatedWithEffects StrangeAnswerNotFileNameGivenDataFileNotClosedDataSoundFileNotReadUndefinedFunctioncatchEnd$fShowFinalException$fExceptionFinalExceptionreplaceP replaceP4maxAbsgetMaxAgetMinA selMaxAbsselMAextremeS alterVadB alterVadHelpopFilenormnormLgainLsoxStat alterVadEupperBnd extremeS1quarterSinFade silenceBothrecArecB resampleA durationAplayA noiseProfB noiseProfE noiseReduceB noiseReduceE noiseReduceBU noiseReduceEUvolSvolS2sincAsampleAn produceSound3 produceSound4showCoefbeginProcessing produceSound2 printGenInfo1controlNoiseReductiontempS printGenInfo2 cleanTemp cleanTempNtempeRarecommendSharp printGenInfo0baseGHC.IOcatch