Are there modules that can detect if an LFO wave is ascending or descending? (I’m thinking to something like like Ladik’s J-110 Derivator)
If not, which way could there be to detect a change in the wave direction?
Are there modules that can detect if an LFO wave is ascending or descending? (I’m thinking to something like like Ladik’s J-110 Derivator)
If not, which way could there be to detect a change in the wave direction?
yes there are, I use this one
Lol you got to it first thats exactly what i was going to rec.
If you want to have more control, this method has triggers or gates using a comparator and a mult for a 1 sample delay. another method…
I don’t see how Hetrick Compare + sample delay gives more control. Yes there is a threshold control, but the Count Modula module has Range and Response controls.
The Hetrick Compare only detects rising or falling slopes. It doesn’t have steady or moving outputs, though theoretically it could be derived by adding logic modules.
But it is easy to create a slope detector with a sample delay and a windowed comparator with more output options.
Below compares the results of Count Modula Slope Detector with Venom WinComp + sample delay.
Venom vs Count Modula Slope Detection.vcv (2.3 KB)
color | Count Modula | Venom |
---|---|---|
purple | raw signal | raw signal |
red | falling | A<B |
green | rising | A>B |
yellow | steady | A=B |
blue | moving | A<>B |
In the Venom solution B is one sample behind A.
The definition of steady, or A=B is a bit tricky with floating point numbers. A tolerance is usually needed. In this demo I use 3e-5 V for the Venom WinComp tolerance. I find it works well for a wide range of LFO rates. It can be adjusted up or down as needed.
You’re right of course. I should have said a more diy approach. In my defense I smoked marijuana before posting… hahaha
the one I use…
Thank you all for the thorough response!
I was in need of a polyphonic slope detector today, and this setup came in very handy. Thanks!