Hello Sirs.
Among the scripts data in examples for the novices appear in particular, those of Sir P.J. Morales. One of these script is called: " Gong like sounds ".
By using the command there is a problem with Audacity 2.0.2. The problem is that there is a saturation. We can solve this problem by using the command" Effects - Amplification " of this software.
On the other hand, my question is the following one: is there a script which would allow to avoid this saturation?
This function uses the “add-partial” function multiple times and adds then together [mixes them] using “sim”.
Just by looking at the 3rd parameter in each call of “add-partial” it is obvious that the peak waveform will be huge. For example;
(add-partial 4 240 3.0) will have a peak amplitude of 3 [3 times bigger than the track height].
When we use the function “gong-1” it will be necessary to reduce the level a lot.
Rather than just using (gong-1) to call the function, we could amplify it with:
(mult 0.05 (gong-1))
Looking at the code as a whole we can see that [near the bottom] “(gong-3 …)” is used multiple times.
“(gong-3 …)” calls the function “(add-partial-3 …”
Again we can use “mult” to “multiply” [amplify] the output: