| Author |
Message |
Afro88

Joined: Jun 20, 2004 Posts: 701 Location: Brisbane, Australia
Audio files: 12
G2 patch files: 79
|
Posted: Wed Nov 23, 2005 12:28 am Post subject:
Implementing a counter over a certain time period |
 |
|
I'm hoping someone could help me out with this. I'm trying to create a counter that counts events. When the counted events reaches 3/4/5/6/whatever before the timer runs out another event is triggered.
Can anyone help? Or am I thinking about this the wrong way... is there another way to achieve what I want without using a counter mechanism?
Thanks |
|
|
Back to top
|
|
 |
Afro88

Joined: Jun 20, 2004 Posts: 701 Location: Brisbane, Australia
Audio files: 12
G2 patch files: 79
|
|
|
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
|
|
 |
Afro88

Joined: Jun 20, 2004 Posts: 701 Location: Brisbane, Australia
Audio files: 12
G2 patch files: 79
|
Posted: Wed Nov 23, 2005 3:27 am Post subject:
|
 |
|
Thanks Tim, very nice. It took me a little while to figure it out It hadn't occured to me to use a mixer in a feedback loop... I'll be using yours I think, sure it uses slightly more dsp/memory, but at least it works exactly as it should.
Cheers  |
|
|
Back to top
|
|
 |
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Wed Nov 23, 2005 4:25 pm Post subject:
|
 |
|
Glad it's useful.
It's based on a counter circuit I designed some time ago. I even built expo-tracking sawtooth oscillators with it once (which can be found here: http://www.electro-music.com/forum/topic-6966.html) |
|
|
Back to top
|
|
 |
revelingjohn
Joined: Jun 25, 2007 Posts: 4 Location: LA
|
Posted: Mon May 26, 2008 7:49 pm Post subject:
How does this work? Subject description: Where do I put the thingy that makes the stuff happen? |
 |
|
Hi,
This is an awesome patch. Unfortunately I'm not so bright with the workings of these patches. I want to count logic "clicks" over a time period of say 100ms. Where do I insert the bus that my logic signals are flowing on so this doo-hickey will count them? How do I start (yes I pushed the "start" button but there is clearly more to it)? how do I specify the time frame? And most importantly where does the resulting count spit out of? Is it in the form of an amplitude value or a frequency value (amplitude would be most helpful)?
Alternatively, does anyone know how to convert a frequency value into an amplitude value, i.e. "clicks per second" to voltage. I guess that would be period to amplitude....anyway, is it possible? |
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24669 Location: The Netherlands, Enschede
Audio files: 330
G2 patch files: 320
|
Posted: Tue May 27, 2008 1:57 pm Post subject:
Re: How does this work? Subject description: Where do I put the thingy that makes the stuff happen? |
 |
|
| revelingjohn wrote: | | Alternatively, does anyone know how to convert a frequency value into an amplitude value, i.e. "clicks per second" to voltage. I guess that would be period to amplitude....anyway, is it possible? |
Try the Zero Crossing Counter or the Pitch Track modules (on the Note tab) _________________ Jan
also .. could someone please turn down the thermostat a bit.
9 3 4 .. erm .. not 13 then? .. hmm, ah eight! .. yeah yeah as in 8647 .. 47 is an 88 .. pwew .. numbles! |
|
|
Back to top
|
|
 |
|