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?
How to use PEAK and still drop the value to zero.
-
glitchpudding
- Posts: 8
- Joined: Sat Aug 13, 2022 8:18 pm
-
Terry Payman
- Posts: 818
- Joined: Sun Sep 14, 2014 8:15 am
- Location: UK
- Contact:
Re: How to use PEAK and still drop the value to zero.
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.
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.
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.
Re: How to use PEAK and still drop the value to zero.
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.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?