Author |
Message |
sebber

Joined: Aug 27, 2004 Posts: 501 Location: Berlin
Audio files: 3
G2 patch files: 33
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24388 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Thu Aug 18, 2005 4:45 pm Post subject:
|
 |
|
What I think .. in general the length of the pulse from the switch output will be different from the length of the first pulse out of the sequencer.
like this for a slow running sequencer.
Code: |
switch
_____--------________
seq
xxxxx-----------_____
xor
xxxxx________---_____
|
For a fast runing sequencer the seqencer out pulse would be shorter than the switch out pulse and the same sort of situation would arise.
Only when the sequencer runs at one particular speed this could possibly work, but even then you'll probably run into trouble due to timing differences for signals runing different paths through the circuit.
So the question is .. what would you like to accomplish with this circuit - or are you in in learn mode maybe ? _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24388 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Thu Aug 18, 2005 4:57 pm Post subject:
|
 |
|
Sorry, took me a while to get the image right, the x's are don't know's. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Thu Aug 18, 2005 5:18 pm Post subject:
|
 |
|
Hmmmm. Yes, of cource sequencer puleses aren't relative to the sequencer's speed since the poor sequencer can't be expected to know how fast it'll be going in the future. That does lead to the question what we would do if we'd need pulses that *are* relative tot he bpm (or Hz if you wish). I can think of many aplications where they realy should be ralative. Hmmmm, that needs some thought. _________________ Kassen |
|
Back to top
|
|
 |
sebber

Joined: Aug 27, 2004 Posts: 501 Location: Berlin
Audio files: 3
G2 patch files: 33
|
Posted: Fri Aug 19, 2005 4:14 am Post subject:
|
 |
|
Well, I inserted pulse modules on both sides, so the impulse on the gate had the same length. Doesn't change anything. Maybe there's a little latency due to calculation in the sequencer but since there's not really much not calculate I doubt that.
What I wanted to accomplish is a patch where I can trigger a sequence to run twice and then stop - until the next trigger. Actually I am in learn mode because I want to G2ize this patch by Rob.
It can be done exactly like it's shown there, but since we have a gate and a flip-flop, why not use it?
Doing it with the flip-flop is actually Rob's assignment here
BTW, can't find the workshop on Clavia's pages anymore.
I think that workshop should be online. I've got a spare one here. |
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Fri Aug 19, 2005 5:40 am Post subject:
|
 |
|
How about taking a flipflop set tot he "set/reset" mode (not the "toggle) one).
Your flipflop 2nd (inverted) output is normally outputting one; you take the the clock and a binary counter to make the fliplflop go zero after 32 clock ticks. "And" that one with the clock to become the sequencer's clock.
Now the sequencer only receives the clock for 32 pulses and after that the flipflop goes low, breaking the chain. To start it again you send a reset to both the flipflop and that sequencer after which it'll take another 32 steps.
You could also do the same with just two counts of the "link" output of the sequencer but I'm not entirely certain that won't overshoot to still set the seq. back to the "1" so be carefull there. _________________ Kassen |
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18236 Location: Durham, NC
Audio files: 222
G2 patch files: 60
|
Posted: Fri Aug 19, 2005 7:08 am Post subject:
|
 |
|
But I just noticed how much better looking the NM1 graphics look than the G2. The knobs and the jacks are more three-dimensional. _________________ --Howard
my music and other stuff |
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Fri Aug 19, 2005 8:30 am Post subject:
|
 |
|
mosc wrote: | But I just noticed how much better looking the NM1 graphics look than the G2. The knobs and the jacks are more three-dimensional. |
The WHAT and the WHO???!!!!
:¬(
I'm on topic. Clearly, demonstratably on topic. I used a flipflop to make a sequencer run twice then stop. Unless I completely misunderstand something that's exactly what needs to be done. It could be done with a clocked delay set to 32 instead of a binary counter and that would save some outputs sparing the poor strained little zero page. _________________ Kassen |
|
Back to top
|
|
 |
jksuperstar

Joined: Aug 20, 2004 Posts: 2503 Location: Denver
Audio files: 1
G2 patch files: 18
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Fri Aug 19, 2005 9:55 am Post subject:
|
 |
|
Ah, whoops. The "grumpy boss" style of the smiley threw me off. _________________ Kassen |
|
Back to top
|
|
 |
sebber

Joined: Aug 27, 2004 Posts: 501 Location: Berlin
Audio files: 3
G2 patch files: 33
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24388 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Fri Aug 19, 2005 11:44 am Post subject:
|
 |
|
I'm sorry to have confused you.
The answer is still the same though IMO ... timing differences in the pulses, even with the pulse modules added it would not be sample accurate and one sample time timing difference will bring you a pulse still on the Xor output.
Maybe making all involved signals red and orange will help (as the patch compiler does more work on those signals to try to solve timing problems) but that is pretty expensive CPU wise.
Synchronizing the signals (for instance by using S&H modules or FlipFlops) or finding a different solution to solve the problem is a better way to go. (this was the reason why I asked for what you wanted to do with the circuit, to try to come to a different solution). _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18236 Location: Durham, NC
Audio files: 222
G2 patch files: 60
|
Posted: Fri Aug 19, 2005 12:58 pm Post subject:
|
 |
|
Yes, I was describing my own post as OT. We could use an OT emoticon with a smile - a way to excuse yourself if you just can resist. Sorry again.  _________________ --Howard
my music and other stuff |
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Fri Aug 19, 2005 2:49 pm Post subject:
|
 |
|
It's ok, everybody makes a oops every now and then.
I did too, thanks to JKS for pointing out (graphically) you need to reset the counter too when you trigger the whole thing because conceivably it'll be trigered while it runs. That does count against the clocked delay option.
Depending on the total CPU and zero page cost of the patch it might still pay off to flush the delay with a quick series of pulses but that that point it all becomes rather accedemic... _________________ Kassen |
|
Back to top
|
|
 |
sebber

Joined: Aug 27, 2004 Posts: 501 Location: Berlin
Audio files: 3
G2 patch files: 33
|
Posted: Sat Aug 20, 2005 2:12 am Post subject:
|
 |
|
BlueHell, your advice is a good one for me: I'll try to be more pragmatic. And pragmatism on a flexible system is finding another way.
Thanks everybody for your input! |
|
Back to top
|
|
 |
|