[sdiy] Electric Druid VCADSR filter hysteresis

Tom Wiltshire tom at electricdruid.net
Tue Sep 2 19:22:05 CEST 2014


Glad you got it going.

I went round and round on the Gate/Trigger response. Adding software debouncing would solve the issues you can have with some switches, but it also delays the time until the envelope triggers. The original VCADSR had a Gate input driving an interrupt, so the response is as fast as it can be, but it'll pick up bouncy switches. The LoopEnv polls the Gate input and does include basic debouncing, so it's less sensitive, but not quite as fast. I don't think there's a single right answer for all situations. To be honest, even the LoopEnv way is so fast that no-one ever spots that it isn't done the other way, so perhaps I just worry too much about this stuff.

T.

On 2 Sep 2014, at 17:47, Jack Jackson <jackdamery at hotmail.co.uk> wrote:

> Hi guys,
> 
> Thanks for all your responses. You were right in the end. It was a case of accidentally connecting the opamp -ve to ground. The opamp I'm using is a TL072. 
> 
> It's working nicely now except I'm using a microswitch for the gate/trigger and the edges of the pulse sometime's arent sharp enough for the PIC to detect properly.
> 
> 
> Best Regards,
> Jack



More information about the Synth-diy mailing list