Reset Sequencer

 

Mountain Man wrote:

Can someone help me figure out how to reset a sequencer that is longer than 16 steps (series). If the sequence is in its first 16 steps, a pulse sent to the "reset" input of the first sequencer works just fine. The problem is how to reset the sequencer if it is beyond step 16 (on step 24, for example). This seems like it should be straight-forward, but I haven't been able to figure it out. Thanks for any help you can offer.

Mr. Marko wrote:

Like this? I'm sure there a few other ways to do it. Maybe I don't understand the question?

Mountain Man wrote:

I guess I need to explain this more clearly. Have a look at the attached patch. Notice there's a reset pulse that is delivered whenever the global "active" goes on. If the sequencer is in steps 1-16, this reset works just fine. If the sequencer is in steps 17-32, however, the reset does not do what I want, which is to reset the sequence to step 1. Does that make sense?

Kees van der Maarel wrote:

I think this is what you mean.

Mountain Man wrote:

Yep, that does the trick, Kees. I've been analyzing it, trying to understand what it does (since I'd like to be able to extend the concept to longer sequences - which I think is going to get really ugly. What you've got there seems to make sense - you've got a flipflop that flips each time the second sequencer starts, and which is used to determine if the clock gets through for the second sequencer (I think!) What I don't understand is if I stop the sequencer when it's in EventSeq2 and then send a new "active" pulse, I can see that EventSeq2 is receiving clock pulses (I put in an AD to see the pulses), even though it's not active. What I'm failing to see is how the second sequencer is getting "switched off" when the reset pulse comes in. Can you explain for me what's going on?

Jan Punter wrote:

It's not quite clear to me why this doesn't work. I can't really test it now, but wondered if you tried to remove the LogicDelay1 & 'Reset Pulse' modules. You can of course throw in an or gate between the Link out of Seq1 & the Rst input of Seq2 (connecting the Rst of Seq1 to the other input of the gate). But it leaves a question, I think. Sorry, can't test it right now, as after a warm reboot of my PC the midi connections won't work (& I need to do a lot of printing with it right now, so a cold boot is not really what I want to do right now).

Mountain Man wrote:

Well, even though I don't completely understand how the reset works in this patch, I have been able to extend it to longer sequences. Here is the 48 step version for anyone who might be interested. Not quite as grotesque as I'd imagine, but still pretty ugly. I'll get my thoughts together on how this *should* be done, and post yet-another-update-request for Clavia! 

Kees van der Maarel wrote:

Now that you are mentioning it: I noticed that there are some unexpected things happening. When the patch is stopped when sequencer 2 is active, the flipflop circuit is oscillating at a high frequency. You can hear it when you connect the output of one of the logic processors to an audio out. See attached patch. So the second sequencer steps beyond step 16 very rapidly. Because it is not in loop mode, this sequencer does not start again. I have to think this one over.... It gives the desired effect, but in an unexpected way...