[sdiy] Electric Druid VCADSR filter hysteresis
rsdio at audiobanshee.com
rsdio at audiobanshee.com
Sun Sep 7 04:53:33 CEST 2014
What about an analog solution? Can't you add a cap to ground on the microswitch and effectively debounce without the jitter of software? If a cap alone doesn't work, then an RC network should surely work. If you're worried about delay, then you can dial in the RC time constant to be far shorter than anything you could possibly worry about, but hopefully still be enough to smooth the switch bounce. ... unless I'm missing something?
Brian Willoughby
Sound Consulting
On Sep 2, 2014, at 10:22 AM, Tom Wiltshire wrote:
> 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.
>
> On 2 Sep 2014, at 17:47, Jack Jackson <jackdamery at hotmail.co.uk> wrote:
>> 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.
More information about the Synth-diy
mailing list