Author |
Message |
Axiom Crux
Joined: Sep 16, 2008 Posts: 8 Location: Detroit Florida
|
Posted: Mon Apr 05, 2010 1:33 pm Post subject:
detect a change in values Subject description: Id like to create a patch that detects if a constant is being changed or staying the same |
|
|
Seems simple enough, Just want to make a patch that when I move a knob that is attached to a constant, it will output a logic hi signal when the constant is being changed, and when it is sitting still, it puts logic low. The end use for this is that I want to make a simple cv recorder with the sample delay module, when a knob is being moved it will record the movements, and when its not, it will keep looping the movements that have been made. I think this could be cool for sound design, make a really interesting sound generating section and then just have 8 knobs that I sit there jamming on, it will make organic loops.
I tried doing some things using >= comparison module, but it wasn't working out, I am not sure that this route will work or not. |
|
Back to top
|
|
|
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
Posted: Mon Apr 05, 2010 1:42 pm Post subject:
|
|
|
I have tried my hand at this and failed. There's some trickiness involved when you try to delay and feedback logic that I can't wrap my head around.
One idea that leapt into my head just now as I read your post is that you could try to pipe the constant module's output into a highpass filter, run that through a distortion module and after that a logic pulse module. The highpass will always pull a constant value towards zero, but the moment you change the value there should be a little edge that the highpass filter will interpret as a high pitched signal, and let pass through. It won't be loud, but if you distort it enough there may be a detectable signal. That signal will flap around, which is fixed by the logic pulse module set to suitable values.
If I am being to confusing (and Tim doesn't manage to come up with an ultra-optimized DIY trick), I can try to patch something up in the morning (not sure it will work anyway).
/Stefan _________________ Antimon's Window
@soundcloud @Flattr home - you can't explain music |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24083 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Mon Apr 05, 2010 1:45 pm Post subject:
|
|
|
The idea is to delay the signal and then compare the original to the delayed version, if they are different the signal changed. Would that help? _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
|
Back to top
|
|
|
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
Posted: Mon Apr 05, 2010 10:40 pm Post subject:
|
|
|
Neato! I knew you'd have a couple of magic tricks up your sleeve.
/Stefan _________________ Antimon's Window
@soundcloud @Flattr home - you can't explain music |
|
Back to top
|
|
|
|