Nyquist in Audacity - order of applying functions
Posted: Sun May 10, 2009 11:09 pm
I would have assumed that when using the code:
that the variable "s" would have its sample values multiplied by 10, and
then the resulting sound ("mysound") would be clipped (hard limited) to
0.5
However, that does not occur.
What seems to happen is that the sound "s" is clipped to 0.5, and then
the result is multiplied by 10.
The same thing happens with:
Why is this?
How do I clip "mysound" ?
I'm using Audacity 1.3.7 on Ubuntu 8.04
Code: Select all
(setq mysound (mult s 10))
(setq newsound (clip mysound 0.5))then the resulting sound ("mysound") would be clipped (hard limited) to
0.5
However, that does not occur.
What seems to happen is that the sound "s" is clipped to 0.5, and then
the result is multiplied by 10.
The same thing happens with:
Code: Select all
(clip (scale 10 s) 0.5)How do I clip "mysound" ?
I'm using Audacity 1.3.7 on Ubuntu 8.04