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
poster
 Forum index » Clavia Nord Modular » G2 Building Blocks
N bits Up/Down/Both synchronous binary flip flop counter
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
bantri



Joined: May 15, 2005
Posts: 149
Location: brazil
Audio files: 1
G2 patch files: 32

PostPosted: Sun May 15, 2005 1:17 pm    Post subject: N bits Up/Down/Both synchronous binary flip flop counter Reply with quote  Mark this post and the followings unread

An attempt to supersede the default binary couter module adding an up/down input and the possibility to expand no N bits in modular demo...


NBitCounter2005-Bantri.pch2
 Description:

Download
 Filename:  NBitCounter2005-Bantri.pch2
 Filesize:  2.8 KB
 Downloaded:  1212 Time(s)

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bantri



Joined: May 15, 2005
Posts: 149
Location: brazil
Audio files: 1
G2 patch files: 32

PostPosted: Sun May 15, 2005 1:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Bantri. Great to have you here.

You are a man after my own heart. I love back and forth sequencers, but they are rare. You have done a great job here and this is a great service to me. Do you think you could expand this to include a preset? I would imagine a momentary switch or input signal would asynchronously load the counter you've built.

I've repeated requested that Clavia supple a binary up/down counter with asynchronous preset (or sometimes called load).

Another thing we need in circuits like this is a skip feature.

mosc
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bantri



Joined: May 15, 2005
Posts: 149
Location: brazil
Audio files: 1
G2 patch files: 32

PostPosted: Sun May 15, 2005 1:26 pm    Post subject: diagrams Reply with quote  Mark this post and the followings unread

Thanks
I have to admit that i thought that those digital circuits classes would´nt be useful until i´ve noticed the flipflops in modular.

Here are the links that inspired me to build this structure.

http://www.allaboutcircuits.com/vol_4/chpt_11/3.html

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

http://www.play-hookey.com/digital/converting_ff_inputs.html

Basically it is a finite state machine where the combinatorial stage has the functions of increment decrement the current state or reset to zero.

It passed my mind to make the function to program an initial state and the other function to skip n states seems a good idea that i haven´t imagined, BUT

flip flops are capable of remembering only 2 states hence the circuit quickly becomes imensely cluttered so i am already thinking to use the clocked sample and hold module as the memory for storing the state because it´s the analog of using 8 flipflops in the finite state machine, so probably i won´t invest more time in binary machines after this one.

The main objective for this is to create a sucession of states in the range of 0 to N-1 to ouput to a second stage that associates those N events to notes in a scale for generating complex live arpegios.

The original motivation for this was first the subarppegio function available only in the nord lead and also by hearing the arpeggios from sources like Rio album from Duran Duran and some Goa from Shakta and Moonweed as an example... which were programmed by hand, but the real fun is to develop some mathematical pattern to occasionally and ramdomly change some notes to avoid repetitive behavior... [/img]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bantri



Joined: May 15, 2005
Posts: 149
Location: brazil
Audio files: 1
G2 patch files: 32

PostPosted: Sun May 15, 2005 1:36 pm    Post subject: using SH module for storing integer states Reply with quote  Mark this post and the followings unread

Here is the option i mentioned using the sample and hold module instead of flip flops (thus allowing a less cluttered structure), it consists of a finite state machine that has an initial load value, upper and lower bound detection every time the state gets out of bounds it triggers one of four increment/decrement values.

Probably the next step on the research will be using the sequencer value module instead of the SH module to store 16 individual states.

I currently don´t know if it´s possible but it will be something like setting each of the inputs with a sequence like
1,5,2,3,7,4,8,-1(<EndOfCycle),x,x,x,x,x,x,x,x(<DontCare)
allowing to set individually the next jump for every state thus allowing the most flexible state machine as possible and later cascading/summing two of those circuits, so after the secondary completes one complete cycle it advances the primary to the next state, then your going to hear some really nice trance inducing patterns.


Fstates2005Bantri.pch2
 Description:

Download
 Filename:  Fstates2005Bantri.pch2
 Filesize:  1.97 KB
 Downloaded:  1181 Time(s)


Fstates2005Bantri.pch2
 Description:

Download
 Filename:  Fstates2005Bantri.pch2
 Filesize:  1.97 KB
 Downloaded:  1143 Time(s)

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


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

PostPosted: Sun May 15, 2005 2:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok, I made a stupid remark somewhere and things got messed up a bit as a result, sorry.

I locked the original threads, didn't know what else to do.

http://electro-music.com/forum/topic-6407.html&highlight=

and

http://electro-music.com/forum/topic-6414.html&highlight=

Jan.
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: Sun May 15, 2005 3:00 pm    Post subject: Re: N bits Up/Down/Both synchronous binary flip flop counter Reply with quote  Mark this post and the followings unread

bantri wrote:
An attempt to supersede the default binary couter module adding an up/down input and the possibility to expand no N bits in modular demo...


There is an other example of an up/down counter with variable direction and step at http://electro-music.com/forum/topic-3035.html.

Redid it for V1.32, the patch found in the above link suffered from a little bug that was fixed in V1.30 and later. It now also has a synchronous reset and a preset value for on a reset.


stepper V1.32.pch2
 Description:
Forwards/backwards sequencer with variable step and direction, synchronous reset and variable start position on a reset.

Download
 Filename:  stepper V1.32.pch2
 Filesize:  2.72 KB
 Downloaded:  1586 Time(s)

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [6 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


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