electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
 Forum index » Clavia Nord Modular » G2 Building Blocks
Variable step-length sequencer
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [5 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Rob



Joined: Mar 29, 2004
Posts: 580
Location: The Hague/Netherlands/EC
G2 patch files: 109

PostPosted: Sun May 07, 2006 10:35 am    Post subject: Variable step-length sequencer Reply with quote  Mark this post and the followings unread

This building block uses a SeqLev and a SeqCtr module to create a programmable clock divider for another sequencer. The duration of each step can be chosen from a table of 16 preprogrammed durations, ranging from 1/32th to 3/4th. Triplet values like 1/24, 1/12, 1/6 and 1/3 are also available in the table.

How it works:
The heart of the divider is a binary counter connected to a DA module. The output of the DA module is compared to a value that comes from a table stored in a SeqCtr module. Depending on the value read from the SeqCtr the binary counter counts a certain number of times. The output of the compare module resets the binary counter and is used as the clock for other modules. One of these is a SeqLev that controls which value is read from the SeqCtr module.
Some additional modules take care of some household jobs to get everything working.

So, each step in a sequence can have its own independent time duration (stored in the SeqLev module), chosen from sixteen possible durations (read from the SeqCtr module).

Disadvantages:
The clock signal for the binary counter is taken from the 1/96th output on the ClkGen module, which means that the swing parameter on the ClkGen will have no effect.

Have fun,
/Rob


VariableStepLengthSequencer.pch2
 Description:
Example for how to create variable step durations for step sequencer modules

Download
 Filename:  VariableStepLengthSequencer.pch2
 Filesize:  3.32 KB
 Downloaded:  836 Time(s)

Back to top
View user's profile Send private message Send e-mail Visit poster's website
mother misty



Joined: May 13, 2004
Posts: 679
Location: Ghent / Belgium
Audio files: 82
G2 patch files: 130

PostPosted: Mon May 15, 2006 1:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi rob,

Nice sequencer, but I've got some questions if you don't mind.
What are those 2 yellow modules at the bottom (s&h and constant switch) suposed to do,
I see the s&h isn't connected?
You didn't connected the last output from the binary counter, is there a reason for this?

greets,

misty.
Back to top
View user's profile Send private message Visit poster's website
Rob



Joined: Mar 29, 2004
Posts: 580
Location: The Hague/Netherlands/EC
G2 patch files: 109

PostPosted: Mon May 15, 2006 5:10 am    Post subject: Reply with quote  Mark this post and the followings unread

mother misty wrote:
Hi rob,

Nice sequencer, but I've got some questions if you don't mind.
What are those 2 yellow modules at the bottom (s&h and constant switch) suposed to do,
I see the s&h isn't connected?
You didn't connected the last output from the binary counter, is there a reason for this?

greets,

misty.


Aah, those two unused modules are there for test purposes: when disconnecting the Ctr input on the SeqCtr1 modules and connecting it to the S&H1 output it is possible to select a certain step on the SeqCtr1 module manually, by setting a value on the ConstSwitch1 module. This I used to check if the rhythmic divisions were indeed correct. The S&H1 makes sure the change to another division starts at the beginning of a bar. And another little curiosity is that the selection range of a SeqCtr module is from 0 up to but not including +64, whcih can be checked with that constant module. This SeqCtr conrol range thingy is also the reason why that Clip1 module is there, it clips a possible +64 value coming from the SeqLev module to a value of +63.5, so the SeqCtr won't park.


The idea is to have a lookup table that stores possible division rates (theSeqCtr1 module) and have another sequencer (SeqLev1) define an address in this table. Then the table value is used to let a programmable counter counter the number of 1/96 clockticks selected from the table. The SeqCtr1 module is used as the lookup table where the amount of upwards counts is stored before the BinCounter1-DAConv1-CompSig1 combination (the programmable counter ) is reset.

The D7 input on the DAConv module is actually the sign bit, it negates the DAConv output value as defined by the other seven inputs. Basically the DAConv module can output a range between -64 and +64 in half steps, but for this particular application only 16 values in a range between 1.5 and 36 are needed, and these are all positive values. So, basically I let the BinCounter1-DAConv1 module combination count upwards from 0 to +64 in half steps, and not upwards from -64 to +64 in half steps.

(The reason for this SeqCtr Ctr input range is that this way two of those modules can easily be 'chained' to give a 32 locations table, for this all one has to do is add 64 units to the Ctr signal and feed it to the Ctr input of a second SeqCtr module which now reacts to the negative range of the Ctr signal. See attached patch, where two SeqCtr modules are used in a table lookup configuration to create rhythm variations.)

/Rob


32LocationLookupTable.pch2
 Description:
Patch where two SeqCtr modules are used to create a 32 location lookup table. In this patch that lookup table is used to create rhytmic variations. Of course there is some other interesting stuff here, like the patent pending Kassen-Rob digitizing brickwa

Download
 Filename:  32LocationLookupTable.pch2
 Filesize:  4.12 KB
 Downloaded:  776 Time(s)

Back to top
View user's profile Send private message Send e-mail Visit poster's website
mother misty



Joined: May 13, 2004
Posts: 679
Location: Ghent / Belgium
Audio files: 82
G2 patch files: 130

PostPosted: Tue May 16, 2006 1:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the explination Rob, much appreciated!
Back to top
View user's profile Send private message Visit poster's website
W.T.



Joined: Jul 11, 2004
Posts: 263
Location: The Netherlands
Audio files: 1
G2 patch files: 11

PostPosted: Fri Oct 20, 2006 3:06 am    Post subject: Reply with quote  Mark this post and the followings unread

very interesting! can't wait to get home and explore this patch.

Thanks in advance Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [5 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 » G2 Building Blocks
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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