Page 1 of 1

How to use PEAK and still drop the value to zero.

Posted: Thu Mar 19, 2026 3:01 pm
by glitchpudding
Screenshot 2026-03-19 at 10.52.51 AM.png
Screenshot 2026-03-19 at 10.52.51 AM.png (75.43 KiB) Viewed 6204 times
I'm feeding video into a buffer and scrubbing through it using audioreactive controls. When value drops to zero, new video is introduced into the buffer. As is often the case with audioreactive stuff, it's agressively animated. Using PEAK is helpful in taming the motion, but it has the side-effect of never letting the value drop to zero, which means new video is never introduced into the buffer.

Is there a way to get this vaue to zero? It can be a function based on logic and reason, or it can just arbitrarily drop it to zero from time to time. Any thoughts?

Re: How to use PEAK and still drop the value to zero.

Posted: Thu Mar 19, 2026 3:47 pm
by Terry Payman
A negative offset could be helpful.

The exponential decay of the peak would then effectively "aim at" a value below zero, and would get there quickly rather than never.

Re: How to use PEAK and still drop the value to zero.

Posted: Thu Mar 19, 2026 8:25 pm
by Sadler
It depends on what music you're using but as you can see here, Best Pitch (in red) with a Peak=0.1 never gets to 0 except when the music stops (that red swoop is the end of the music). The volume with the same Peak (blue) reaches 0 much more often.
Screenshot 2026-03-19 194304.png
Screenshot 2026-03-19 194304.png (42.7 KiB) Viewed 6187 times

Re: How to use PEAK and still drop the value to zero.

Posted: Thu Mar 19, 2026 9:53 pm
by Magic
Is there a way to get this vaue to zero? It can be a function based on logic and reason, or it can just arbitrarily drop it to zero from time to time. Any thoughts?
Wouldn't you just want to have another Gate at the end? For example, a Gate of 0.1 would make any value below 0.1 drop directly to 0.