hello, if i send signals with extreme amplitude to freeverb it collapses and it stop making any sound, and then it just output the word "nah" if i conect the output to a env~. For avoiding this i tried to connect a clip -1 1 object before freeverb but it doesnt work and freeverb still crashing, any idea how to avoid this crashing and why clip -1 1 doesnt work here?
thanks
R.
Any digital filter will "blow up" when it becomes saturated. Clipping to -1 and 1 doesn't help, because then you could be sending values of -1 and 1 almost constantly to the object. Look at the help file for [limiter~] and use that ahead of your freeverb perhaps. Not having a high value for the feedback in the reverb itself can help.
"nan" stands for Not A Number, and objects give this when they are incapable of calculating values any more.
D.
On 1/8/11 6:20 PM, ronni montoya wrote:
hello, if i send signals with extreme amplitude to freeverb it collapses and it stop making any sound, and then it just output the word "nah" if i conect the output to a env~. For avoiding this i tried to connect a clip -1 1 object before freeverb but it doesnt work and freeverb still crashing, any idea how to avoid this crashing and why clip -1 1 doesnt work here?
Alternately, use [/~ 10] in front of the freeverb and [*~ 10] after. This should scale things enough without losing too much resolution. It is digital after all.
D.
On 1/8/11 6:28 PM, Derek Holzer wrote:
Any digital filter will "blow up" when it becomes saturated. Clipping to -1 and 1 doesn't help, because then you could be sending values of -1 and 1 almost constantly to the object. Look at the help file for [limiter~] and use that ahead of your freeverb perhaps. Not having a high value for the feedback in the reverb itself can help.
"nan" stands for Not A Number, and objects give this when they are incapable of calculating values any more.
D.
On 1/8/11 6:20 PM, ronni montoya wrote:
hello, if i send signals with extreme amplitude to freeverb it collapses and it stop making any sound, and then it just output the word "nah" if i conect the output to a env~. For avoiding this i tried to connect a clip -1 1 object before freeverb but it doesnt work and freeverb still crashing, any idea how to avoid this crashing and why clip -1 1 doesnt work here?
On Sat, 8 Jan 2011, ronni montoya wrote:
hello, if i send signals with extreme amplitude to freeverb it collapses and it stop making any sound, and then it just output the word "nah" if i conect the output to a env~.
what [env~] does is mostly just multiply each sample by itself and add them together. thus if you get a Not-a-Number (nan) output, it's because something put a nan in the signal itself.
nan is the result of float operations in which it doesn't make sense to give a finite result (zero, normal or denormal) and it also doesn't make sense to give an "infinity". For example 0 divided by 0, or log of -1.
Pd's internals generally avoid outputting nan (and infinities), but many externals don't care about that.
For avoiding this i tried to connect a clip -1 1 object before freeverb but it doesnt work and freeverb still crashing,
Perhaps the problem isn't really with the extreme amplitudes at all.
any idea how to avoid this crashing
probably by editing freeverb's source code to fix the bug(s) in it (if it's a real crash that causes pd to abort).
If it's just a nan problem, maybe you picked a nonsense setting and freeverb didn't prevent you from doing so. (?)
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC