I'm designing an ADSR circuit where I use a schmitt trigger to store the state of the envelope and figuring out the resistor values to get the threshold voltages I wanted was a bit slow, so I made this little tool for playing around with them: https://tools.sandelinos.me/opamp-schmitt-trigger-playground

Just put in the output saturation voltages of your opamp and mess around with the resistor values (the arrow buttons jump through E12 standard values) until you get thresholds that you like.

#SynthDIY #electronics

Opamp schmitt trigger playground

I might add a feature later to automatically calculate the ideal resistor values for whatever threshold voltages you desire, but math is hard and even like this it takes less than a minute of fiddling with the buttons to find the resistors I need.