electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
today> Modulator ESP Adventures In Sound
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Gate question
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
sebber



Joined: Aug 27, 2004
Posts: 501
Location: Berlin
Audio files: 3
G2 patch files: 33

PostPosted: Thu Aug 18, 2005 3:06 pm    Post subject: Gate question Reply with quote  Mark this post and the followings unread

Hello everybody,

I've got a question about the gate that I can't solve for quite a while now.

I thought that when I hit the switch I'd send a positive signal to the gate directly and make the sequencer send one, too. 1+1=0 would make the XOR do nothing. But it does not only blink, it sends a signal, too Shocked
Where am I wrong?

Posted Image, might have been reduced in size. Click Image to view fullscreen.


XOR question.pch2
 Description:

Download (listen)
 Filename:  XOR question.pch2
 Filesize:  1.13 KB
 Downloaded:  1313 Time(s)

Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24388
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Thu Aug 18, 2005 4:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24388
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Thu Aug 18, 2005 4:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Thu Aug 18, 2005 5:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
sebber



Joined: Aug 27, 2004
Posts: 501
Location: Berlin
Audio files: 3
G2 patch files: 33

PostPosted: Fri Aug 19, 2005 4:14 am    Post subject: Reply with quote  Mark this post and the followings unread

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.


Posted Image, might have been reduced in size. Click Image to view fullscreen.

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 Smile

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
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Aug 19, 2005 5:40 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 18236
Location: Durham, NC
Audio files: 222
G2 patch files: 60

PostPosted: Fri Aug 19, 2005 7:08 am    Post subject: Reply with quote  Mark this post and the followings unread

off topic 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
View user's profile Send private message Visit poster's website AIM Address
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Aug 19, 2005 8:30 am    Post subject: Reply with quote  Mark this post and the followings unread

mosc wrote:
off topic 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
View user's profile Send private message Send e-mail Visit poster's website
jksuperstar



Joined: Aug 20, 2004
Posts: 2503
Location: Denver
Audio files: 1
G2 patch files: 18

PostPosted: Fri Aug 19, 2005 9:52 am    Post subject: Reply with quote  Mark this post and the followings unread

I think Howard was saying his own post was about to be off topic, and that he likes the look of the NM1 editor over the G2 editor.

Here's a patch to run twice after a trigger. It uses the LINK output (ie- end of sequencer) to run a counter. That counter clears a set/reset flop that allows the clock to reach the sequencer. Using this method, it is easy to change the length of the sequence, or change the number of times you allow the seq to run after trigger.


g2_seq_twice.JPG
 Description:
A building block to allow a sequencer to run twice after trigger
 Filesize:  28.29 KB
 Viewed:  10823 Time(s)

g2_seq_twice.JPG



Last edited by jksuperstar on Fri Aug 19, 2005 10:09 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Aug 19, 2005 9:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Ah, whoops. The "grumpy boss" style of the smiley threw me off.
_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sebber



Joined: Aug 27, 2004
Posts: 501
Location: Berlin
Audio files: 3
G2 patch files: 33

PostPosted: Fri Aug 19, 2005 10:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Aargh, I just found out that I solved the do-it-two-times thingy already Embarassed

I got confused when BlueHell asked me what I needed it for. The gate question came up, when I tried to solve the 2times problem, it is not the problem itself anymore. I'm sorry I got confused about that!

So, attached patch will do it, but now I'm just where I started. Remember, the Gate question, why does that thing go blink?


WSL9.pch2
 Description:

Download (listen)
 Filename:  WSL9.pch2
 Filesize:  1.52 KB
 Downloaded:  1289 Time(s)

Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24388
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Fri Aug 19, 2005 11:44 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 18236
Location: Durham, NC
Audio files: 222
G2 patch files: 60

PostPosted: Fri Aug 19, 2005 12:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

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. Embarassed
_________________
--Howard
my music and other stuff
Back to top
View user's profile Send private message Visit poster's website AIM Address
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Aug 19, 2005 2:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
sebber



Joined: Aug 27, 2004
Posts: 501
Location: Berlin
Audio files: 3
G2 patch files: 33

PostPosted: Sat Aug 20, 2005 2:12 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use