Schmitt triggers
Posted: Wed Jul 27, 2022 1:59 pm
Hi stoners!
I needed a Schmitt trigger to try in my current project.
For those who don’t know, it’s a switch which turns on at a set level and off at a lower level. This change of switching thresholds is called hysteresis. The common use case is to handle noisy or unstable control signals, like you might get from an envelope follower.
I bet you all knew this, but just in case!
This has been discussed before on the forum, but I made my own; one in stream and one in green float. You can set the base switching threshold and the hysteresis required.
Any comments and improvements or Ruby/ASM versions are very welcome.
I needed a Schmitt trigger to try in my current project.
For those who don’t know, it’s a switch which turns on at a set level and off at a lower level. This change of switching thresholds is called hysteresis. The common use case is to handle noisy or unstable control signals, like you might get from an envelope follower.
I bet you all knew this, but just in case!
This has been discussed before on the forum, but I made my own; one in stream and one in green float. You can set the base switching threshold and the hysteresis required.
Any comments and improvements or Ruby/ASM versions are very welcome.