| View previous topic :: View next topic |
| Author |
Counter Module ?? |
yghartsyrt permanent entropy
Joined: 04 May 2011 Last Visit: 20 May 2013
  Posts: 579 Location: Cologne, Germany
|
Posted: Mon May 21, 2012 5:01 am Post subject: Counter Module ?? |
 |
|
|
I don't know if this kind of thing exists in the euro world, but maybe there is or maybe there is a way to emulate such behavior.
I'm looking for a counter module.
An input is looking for events and puts out a gate/trigger after a certain number of events have passed.
something like "do X after 10 times (number should be adjustable) of event Y"
Does this make sense? _________________ www.soundcloud.com/nq_nhlsqaik
www.nqmusic.bandcamp.com
My setup:
http://modulargrid.net/e/racks/view/1054 |
|
| Back to top |
|
 |
NV Super Deluxe Wiggler
Joined: 08 Jul 2008 Last Visit: 20 May 2013
    Posts: 2014
|
Posted: Mon May 21, 2012 5:32 am Post subject: |
 |
|
|
Wouldn't a clock divider work for this purpose? You can use a module like a slope detector or window comparator to detect particular events and send out a gate/trigger, then run that into a clock divider to send out a trigger for every X number of events. Or if you're setting the events with a trigger to begin with then just mult the trigger to a divider.
Endosine is working on a clock divider in this thread which would allow you to set custom divisions for your events. Beyond that there's the Doepfer and 4ms dividers as well. |
|
| Back to top |
|
 |
yghartsyrt permanent entropy
Joined: 04 May 2011 Last Visit: 20 May 2013
  Posts: 579 Location: Cologne, Germany
|
Posted: Mon May 21, 2012 6:20 am Post subject: |
 |
|
|
Thanks for the input NV
A clock divider comes close.
Although it would just work with steady events.
For example if the event is not coming from a fixed LFO for example, but rather from something like a burst generator or a modulated LFO, it wold not be possible to output an event Y after a number of X events.
Plus, with a click divider i won't be able to select an adjustable threshold fo triggering event Y _________________ www.soundcloud.com/nq_nhlsqaik
www.nqmusic.bandcamp.com
My setup:
http://modulargrid.net/e/racks/view/1054 |
|
| Back to top |
|
 |
monstrinho Super Deluxe Wiggler
Joined: 17 Nov 2011 Last Visit: 20 May 2013
 Posts: 1036 Location: mundo afora
|
Posted: Mon May 21, 2012 6:20 am Post subject: |
 |
|
|
| The Snazzy FX Ardcore could probably be programmed to do this. If you can code, it is probably pretty simple. If not, you could ask some of the Arduino ninjas if they can get it running... |
|
| Back to top |
|
 |
BananaPlug Super Deluxe Wiggler
Joined: 05 Dec 2007 Last Visit: 20 May 2013
     Posts: 1894 Location: PHL USA
|
Posted: Mon May 21, 2012 6:32 am Post subject: |
 |
|
|
| yghartsyrt wrote: | Thanks for the input NV
A clock divider comes close.
Although it would just work with steady events. |
An actual divider doesn't care when the clocks happen. It's just counting them whenever they come and changing its output on the Nth pulse. It's different if you are using something like an envelope generator to divide clock pulses because that's based on time. |
|
| Back to top |
|
 |
felix le chat Veteran Wiggler
Joined: 10 Aug 2010 Last Visit: 18 Feb 2013
  Posts: 606
|
Posted: Mon May 21, 2012 6:33 am Post subject: |
 |
|
|
I think you can do this with several Doepfer A-151
Flc |
|
| Back to top |
|
 |
DGTom Super Deluxe Wiggler
Joined: 19 Aug 2008 Last Visit: 10 May 2013
    Posts: 2627 Location: Pt.Adelaide, Sth.Aust.
|
Posted: Mon May 21, 2012 6:55 am Post subject: |
 |
|
|
a clock divider, like the 160, is just a counter. it doesn't care if the input is steady, intermittant or otherwise, just that it qualifies as what it sees as 1 & 0.
as long as the input signal qualifies as events it will count them & give you the tally as a binary number.
Edit; BananaPlug beat me to it.
| yghartsyrt wrote: | | Plus, with a click divider i won't be able to select an adjustable threshold fo triggering event Y |
you need two more pieces of the puzzle to get X.
a comparator to decide what qualifies as Y
some logic to turn the binary number N into a single event X |
|
| Back to top |
|
 |
yghartsyrt permanent entropy
Joined: 04 May 2011 Last Visit: 20 May 2013
  Posts: 579 Location: Cologne, Germany
|
Posted: Mon May 21, 2012 7:04 am Post subject: |
 |
|
|
Thanks for the input guys, but it seems i was not precise enough.
The module should trigger a gate (or something similar) after it received X events on its input no matter. A clock divider would give me the fraction / divisor of the input, but it won't output after it received a certain number of input events.
Or am i completely wrong here? _________________ www.soundcloud.com/nq_nhlsqaik
www.nqmusic.bandcamp.com
My setup:
http://modulargrid.net/e/racks/view/1054 |
|
| Back to top |
|
 |
Clockgate At paranoia's poison door
Joined: 05 Oct 2009 Last Visit: 20 May 2013
   Posts: 889 Location: The Rebel County, Ireland
|
Posted: Mon May 21, 2012 7:11 am Post subject: |
 |
|
|
| yghartsyrt wrote: | Thanks for the input guys, but it seems i was not precise enough.
The module should trigger a gate (or something similar) after it received X events on its input no matter. A clock divider would give me the fraction / divisor of the input, but it won't output after it received a certain number of input events.
Or am i completely wrong here? |
I'm a bit confused. Each clock pulse is an independent event regardless of when it occurs, so it does give you the output after a certain number of events. _________________ http://www.youtube.com/user/justwaving |
|
| Back to top |
|
 |
monstrinho Super Deluxe Wiggler
Joined: 17 Nov 2011 Last Visit: 20 May 2013
 Posts: 1036 Location: mundo afora
|
Posted: Mon May 21, 2012 7:27 am Post subject: |
 |
|
|
| yghartsyrt wrote: | Thanks for the input guys, but it seems i was not precise enough.
The module should trigger a gate (or something similar) after it received X events on its input no matter. A clock divider would give me the fraction / divisor of the input, but it won't output after it received a certain number of input events.
Or am i completely wrong here? |
No, you're absolutely correct. In code, this kind of thing is easy to do, which is why I suggested the Ardcore. You could patch something up with an envelope that has an end of stage output (eg ADSRjr, Envelator, Maths) . You would use a clock divider (say the RCD because it does both even and odd division); the output of the first division would trigger the envelope and the end of stage would be patched into the reset of the RCD with the end of stage also providing the trigger for whatever event it is you want triggered. This way you can see on the RCD how many divisions are being counted off before reset (your "X") and adjust the timing of the envelope accordingly. There may be a better way to do this, but I have not made coffee yet, so.... |
|
| Back to top |
|
 |
DGTom Super Deluxe Wiggler
Joined: 19 Aug 2008 Last Visit: 10 May 2013
    Posts: 2627 Location: Pt.Adelaide, Sth.Aust.
|
Posted: Mon May 21, 2012 7:45 am Post subject: |
 |
|
|
you just use X to restart the count, which is I assume the same way you'd do it in code, you may need some sort of delay - fire an envelope & get an "end of"
ignore the panel for a moment & turn the 160 on its side;
/2 = 1
/4 = 2
/8 = 4
/16 = 8
send it a reset, all the lights are off, a count of 10 will mean /4 & /16 will be on, AND those & you have X = 10. |
|
| Back to top |
|
 |
lodsb Learning to Wiggle
Joined: 20 Dec 2011 Last Visit: 26 Apr 2013
 Posts: 7
|
Posted: Mon May 21, 2012 8:14 am Post subject: |
 |
|
|
| hrm... i use the a-152 for that (it has a row of "digital outs" ~ gates), which has a clock in and then steps to the next step when high + reset input which you feed back from one of the outs for your desired "sequence" length; i guess you could use any step-sequencer (as long as you have to count to < number of steps). |
|
| Back to top |
|
 |
monstrinho Super Deluxe Wiggler
Joined: 17 Nov 2011 Last Visit: 20 May 2013
 Posts: 1036 Location: mundo afora
|
Posted: Mon May 21, 2012 8:24 am Post subject: |
 |
|
|
| It just occurred to me that you could patch all of the outputs of a clock divider (or the gate outputs of a step sequencer that has per step gates) into a Low-Gain Short Bus. Connect what you want to be triggered to the A and B outputs of the Short Bus, and just select whatever you want your "X" to be with the toggle switches. Probably easier and more accurate than using an EG as a gate/trigger delay. |
|
| Back to top |
|
 |
Cat-A-Tonic Lobsters love Muff
Joined: 04 Feb 2008 Last Visit: 20 May 2013
     Posts: 2647 Location: Yokohama, Japan
|
Posted: Mon May 21, 2012 9:39 am Post subject: |
 |
|
|
| lodsb wrote: | | hrm... i use the a-152 for that (it has a row of "digital outs" ~ gates), which has a clock in and then steps to the next step when high + reset input which you feed back from one of the outs for your desired "sequence" length; i guess you could use any step-sequencer (as long as you have to count to < number of steps). |
This^ is almost exactly what I was going to say.
The Doepfer A-152 with the voltage addressing
and Blacet Hex Zone with the programmability
both rule for this kind of stuff. _________________ http://soundcloud.com/decay-generator
| stk wrote: |
We "deserve" exactly what we get, if we leave it up to somebody else to determine our destiny.
|
|
|
| Back to top |
|
 |
Rod Serling Fan Club aquatic hitchhiker
Joined: 14 Dec 2009 Last Visit: 20 May 2013
   Posts: 3431 Location: Germany
| |
| Back to top |
|
 |
yghartsyrt permanent entropy
Joined: 04 May 2011 Last Visit: 20 May 2013
  Posts: 579 Location: Cologne, Germany
| |
| Back to top |
|
 |
earlykooka Wiggling with Experience
Joined: 17 May 2011 Last Visit: 16 May 2013
  Posts: 273
|
Posted: Tue May 22, 2012 9:56 am Post subject: |
 |
|
|
it depends if you want an event to occur every x clocks ( in which case the above answers are probably going to be useful, or if you are thinking in a sort of 'max/msp structure generation' way ... eg: seçtion one does something in a semi- random way until 117 events have occurred at a certain inlet that then triggers an event that changes many things into another state which is seçtion two etc etc
this is very common max/msp strategy, and very easy to do in max, seems to me that the best bet in euro for something like that would be the Ardkore ... it is certainly the sort of thing that would potentially interest me in that module.
however, i am a complete arduino ignoramus and still a relative eurorack noob so i might well be mistaken |
|
| Back to top |
|
 |
andrewl0 Common Wiggler
Joined: 26 Feb 2012 Last Visit: 19 May 2013
 Posts: 184 Location: San Francisco
|
Posted: Tue May 22, 2012 10:42 am Post subject: |
 |
|
|
You can probably get pretty close to what you want to do with a clock divider, intellijel flipflop and a plog. Although it would only work with even numbers.
Basically you hook the clock divider upto whatever trigger you are using to count events.
If you want something to trigger every 10 clock cycles (I think!).
Hook clock divider to cycle source.
Hook the first flipflop up to /2 on clock divider
Hook the second flipflop to /8 on clock divider
Hook both flipflops upto the plog and put it in boolean "AND" mode.
When both /8 and /2 are true output on plog will go high and trigger event.
Then use the normalized connection on the plog to reset both flipflops back to zero state.
I haven't had a chance to test it, but I'm sure that a clock divider coupled with a plog and flipflop will get you what you want even if this isn't these aren't the precisely the correct connection scheme.
Alternately if the event is time based and you're just using a counting device to track that timing you could use an LFO driving a square wave, and trigger when the wave goes high. You'll have to mess with the LFO timing to get things running cleanly but that *should* also work. |
|
| Back to top |
|
 |
andrewl0 Common Wiggler
Joined: 26 Feb 2012 Last Visit: 19 May 2013
 Posts: 184 Location: San Francisco
|
Posted: Tue May 22, 2012 10:47 am Post subject: |
 |
|
|
| Actually I just looked at blacet hex zone, forget what I said and go with that if you have the cash. |
|
| Back to top |
|
 |
yghartsyrt permanent entropy
Joined: 04 May 2011 Last Visit: 20 May 2013
  Posts: 579 Location: Cologne, Germany
|
Posted: Wed May 23, 2012 1:24 am Post subject: |
 |
|
|
@earlykooka yeah something along that way. But I think for starters the simple solution with a clock divider should work (although not perfectly)
@andrewl0 cheers – if I now find a solution for numbers that are not even I should be somehow set. I guess the RCD is something that would come close, since it also does odd numbers. _________________ www.soundcloud.com/nq_nhlsqaik
www.nqmusic.bandcamp.com
My setup:
http://modulargrid.net/e/racks/view/1054 |
|
| Back to top |
|
 |
DGTom Super Deluxe Wiggler
Joined: 19 Aug 2008 Last Visit: 10 May 2013
    Posts: 2627 Location: Pt.Adelaide, Sth.Aust.
|
Posted: Wed May 23, 2012 1:41 am Post subject: |
 |
|
|
| yghartsyrt wrote: | | if I now find a solution for numbers that are not even I should be somehow set. |
(unless I am missing something) the A 160 puts out every number between 0 & 127, its a binary counter, you just need logic to turn the binary number into an event.
I'm not sure what the flip flop in @andrewl0s patch would be doing & /2 & /8 would give you the number 5.
Maybe the 160 doesn't work like I think it does but this is how it works with my bugbrand binary divider, if I patch;
/2 to AND input 1
/8 to AND input 2
& push the clock button on the divider (same as a clock at the input) 5 times, the AND output goes high. |
|
| Back to top |
|
 |
yghartsyrt permanent entropy
Joined: 04 May 2011 Last Visit: 20 May 2013
  Posts: 579 Location: Cologne, Germany
| |
| Back to top |
|
 |
|