MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

Signal Differentiator
MUFF WIGGLER Forum Index -> Modular Synth General Discussion  
Author Signal Differentiator
dougcl
Hi folks after thinking about how to detect changes in a pitch cv for the purpose of triggering an ADSR, I realized that taking the derivative of the signal would work in many cases, and that it can be realized using a S&H, LFO and voltage inverter:



I think this could also be used to derive a quadrature signal from the input since the derivative of sine is cosine. The frequency of the LFO determines the accuracy of the circuit. Higher freq-> more accuracy, although the S&H can only go so fast before things start falling apart. I only had a few minutes to test this, but it looked interesting, if not perhaps complicated. It might make a nice module.
plord
Hm, would this behave differently than a CGS Slope Detector?
dougcl
The CGS Slope detector looks pretty neat:

Quote:

The slope detector is an event-driven gate/trigger generating device. It monitors a control voltage, and responds according to what that voltage is doing. If the voltage is rising, the slope detector gives a "gate" output (approx. 5V) on its "rising" output. Likewise, if the voltage is falling, the slope detector gives an output on its "falling" output. The duration of this gate signal depends on the incoming CV and the setting of the sensitivity pot. When the CV is remaining constant, the "steady" output activates.
Luka
im surpized how much all my maths knowledge comes into practice in modular world. woo maths :S smile
neandrewthal
So every positive going clock pulse you get a positive sample of the waveform's current voltage and every down going pulse you get an inverted sample?

If it were to function like a slope detector I guess your clock and your waveform would have to be related, like one so many degrees out of phase with the other.

I can't wait to build 2 slope detectors and 2 of these hyper
dougcl
neandrewthal wrote:
So every positive going clock pulse you get a positive sample of the waveform's current voltage and every down going pulse you get an inverted sample?


The mix out is always showing a difference between two consecutive samples.
Kwote
neandrewthal wrote:
and 2 of these hyper


i thought about that one but i think i'm gonna go for the Blacet Window Comp instead.
neandrewthal
Kwote wrote:
neandrewthal wrote:
and 2 of these hyper


i thought about that one but i think i'm gonna go for the Blacet Window Comp instead.


I want that one too, but I'm cheap, so I chose the one I could build on a scrap of protoboard for a couple bucks rather than a kit.
Kwote
neandrewthal wrote:
Kwote wrote:
neandrewthal wrote:
and 2 of these hyper


i thought about that one but i think i'm gonna go for the Blacet Window Comp instead.


I want that one too, but I'm cheap, so I chose the one I could build on a scrap of protoboard for a couple bucks rather than a kit.


i'm broke enough most times to go for the cheaper route but when someone like blacet provides a kit that fits my interest i'd rather just toss the extra money their direction because the ease of build will always outweigh other DIY projects. not to mention the Blacet WC kit doesn't require any soldering of wires. just plug and play hyper
neandrewthal
dougcl wrote:
neandrewthal wrote:
So every positive going clock pulse you get a positive sample of the waveform's current voltage and every down going pulse you get an inverted sample?


The mix out is always showing a difference between two consecutive samples.


Oh, clever. I get it now. How fast do you run the lfo? It seems the faster you run it, the higher the resolution you will have, but less sensitivity.
dkcg
dougcl wrote:
Hi folks after thinking about how to detect changes in a pitch cv for the purpose of triggering an ADSR, I realized that taking the derivative of the signal would work in many cases, and that it can be realized using a S&H, LFO and voltage inverter:



I think this could also be used to derive a quadrature signal from the input since the derivative of sine is cosine. The frequency of the LFO determines the accuracy of the circuit. Higher freq-> more accuracy, although the S&H can only go so fast before things start falling apart. I only had a few minutes to test this, but it looked interesting, if not perhaps complicated. It might make a nice module.


Awesome doug! Now this is what modular is all about! grin
dougcl
Hi guys, there is actually a problem using the S&H to do this. While this works to get a change between consecutive samples, the sign changes each time (pos/neg). I'm back to my original thought of using channel 1 and 2 of an ASR (which I need to get) instead of the S&H. Still the alternating signs will be ok for signal change detection.

The other consideration is that the derivative is actually dy/dt. In this circuit, dt is always effectively 1. You need therefore to apply a gain after this circuit that is increased as the clock is increased. I am back to needing an amp in modular format, but I digress.
MUFF WIGGLER Forum Index -> Modular Synth General Discussion  
Page 1 of 1
Powered by phpBB © phpBB Group