Posted: Thu Mar 20, 2008 4:48 am Post subject:
whats the difference in all the dividers??
i am trying to figure out how all the different dividers are all that different. for example, doesnt a 4089 do something similar to a 4040? and doesnt the 4040 do something similar to the 4018? i know a few of the chips i have played with, you put in a clock, and you get a tone lower than the clock.
is that correct? or am i missing something. they all basically chop up the clock into a square wave of some sort right?
Posted: Thu Mar 20, 2008 2:03 pm Post subject:
Re: whats the difference in all the dividers??
loss1234 wrote:
they all basically chop up the clock into a square wave of some sort right?
Yes, but there is more to to it ... I'm not quite sure what you'd like to hear, but let me try something.
-------
4018 - is a "presettable divide by N Counter"
the jam inputs can be used tp preset the counter to a certain count and the reset input can be used to clear to count to zero. On each clock it will count up and this is reflected on the outputs by shifting the output pattern a step to the right. By applying suitable feedback circuitry the division is accomplished.
---------
4040 - is a "ripple carry binary counter / divider"
A binary ripple counter has multiple outputs that are connected to an internal chain of divide by two circuits. A divide by two circuit will output pulses at half the rate of the incoming pulses. So the first output will have half the frequency of th clock, the next output will have half the frequency of taht, or a quarter of the incoming clock rate. etc.
---------
4089 - is a "binary rate multiplier"
This is a divider, but for this type the input pattern determines how many pulses will appear on the output for 16 input pulses.
=====
Intermezzo, a bit about binary numbers.
Decimal numbers use ten digits being 0 .. 9 and counting goes like 0 1 2 ... 9 10 11 .. etc.
Binary numbers use two digits only being 0 and 1. Counting now goes like 0 1 10 11 100 101 110 111 1000 ... 1111 which maps to the decimal numbers 0 1 2 3 4 5 6 7 8 .. . 15.
======
for the 4089 a binary number is applied to the rate select inputs. It has four such inputs so the numbers 0 to 15 can be put in resulting in 0 ... 15 output pulses for each 16 input pulses.
======
A pulse train that is divided by two results in a note that is precisely one octave lower than the incoming note. So the binary ripple counter (4040) can only establish octave relations between outgoing and incoming pulse trains.
A rate multiplier can establish non octave relations, like a multiplication by 12/16 or 3/4, and it runs from 1/16 to 15/16, where 1/16 would be 4 octaves lower and 15/16 would be about a semitone.
The presettable divide N counter could (but it needs some external circuitry for that) divide by 1, 2, 3, ... 10. A division of 10 would mean that for each 10 input pulses there would be one output pulse. This would result in different musical intervals again. The range of notes would resemble a flageolet sequence here, except that it would be sub harmonics rather than harmonics.
this is some great info and really helped answer my questions!!
now for your samples, i hate to ask, but how did you record them? was it just a clock into each chip and then the outputs into a vco as CV or was i actually hearing the outputs of the chip tied through resistors? thats one thing i am still learning is how to actually interface the outputs of these chips.
i have had luck both creating resistor ladders (to create cv signals that have "melodies") and with giving each output its own jack. but whatever your samples did, i could certainly hear all the divisions.
now for your samples, i hate to ask, but how did you record them?
I cheated a bit ... I made a Nord Modular patch to do it and I couldn't get the the rate multiplier right in it's digital form so I did something that generates the same sequence in another way (using a harmonic series directly, as that is what it does, I forgot to mention that in my first post).
I'll attach the patch, it can be used in the free G2 demo program in case you want to try that.
rates-3.pch2
Description:
Demo patch for three different kind of rate dividers / multipliers
Joined: Nov 27, 2005 Posts: 846 Location: Bristol, UK
Audio files: 1
G2 patch files: 1
Posted: Fri Mar 21, 2008 1:27 am Post subject:
Yeah, nice work Jan!
I've not yet had a chance to play much with the 4089 module I've made, but in initial tests it seemed to be behaving quite differently to how you (& I) had expected.... I'll check some more and report back! _________________ http://www.bugbrand.co.uk http://www.bugbrand.blogspot.com
Joined: Jan 07, 2007 Posts: 368 Location: 127.0.0.1
Posted: Sun Mar 23, 2008 5:05 pm Post subject:
Blue Hell wrote:
Some sound samples.
Wow... That was a cool demo, thank you! I am trying to finish too many old projects right now to do anything new for a little while, but I am looking forward to more of this stuff.
i'm having some troubles with my divider... im running a 40106 clock signal using a 1uf cap into a 4040 clock in. I have both chips running off and grounded to a 9volt battery.
When i plug the 4040 output Q1, Q2, Q3 ect directly into my amp, i get huge volume loss, and nothing that sounds like divisions like the samples above. I assumed i'd be able to hear octave drops.
Any idea what could be going on here?
what i havent tested yet is running the Q outs into a vco of some sort.
Joined: Nov 18, 2007 Posts: 301 Location: England
Audio files: 11
G2 patch files: 1
Posted: Sun Mar 08, 2009 4:47 am Post subject:
The output from the 40106 clock should go straight into the clock in of the 4040, no cap in between, sorry if that's not what you meant. Also the reset pin of the 4040 needs to be connected to ground for it to work.
Then if you feed it an audio speed clock the first 2 or 3 divisions should give you different octaves, the bigger divisions will be too low to hear but you can use these to clock other things.
anybody have a handle on the 4059 "divide by n" chip? seems like it's capable of any division between 3 to 15999, which would be immensely great, but i don't understand how to select the division... what are "jam inputs"??
anybody have a handle on the 4059 "divide by n" chip? seems like it's capable of any division between 3 to 15999, which would be immensely great, but i don't understand how to select the division... what are "jam inputs"??
bbob
That chip requires a little bit of pre-thought in working with it, it seems. I read just the beginning portions of the datasheet, that you can find here:
Another thought here - the Q outputs from the 4040, could be being expected to put out more current than the chip itself can handle. A couple of things that you could try:
Q output through 1k resistor, to your amp. That will limit the output current from Q, to +V/1000 amps.
or
Q output into 40106 inverter, with it's output through a 1k resistor, to your amp.
See how that goes and let us know.
Edit: also, does your CD4040 have a 0.1uF cap placed, as close to it's power pin as possible?
I'll try dropping a cap next to the power input and see how it goes. Then i'll try adding resistors in line with the out put jacks. I'll get back to you guys as soon as i give it a shot.
Sorry to drag this up from the depths, but I have a question about this.
I understand that the sound sample was not actually from the chips it simulated (nord mod simulation), but I am wondering if the different frequencies coming out were supposed to simulate the divided frequency outputs on the different pins?
well i forked the inputs and grounded them through a 100k resistor... still nothing. Very strange.
Uncle Krunkus recommended 20K resistors between the inputs and +V or GND. I don't know what the resistors are for though, I thought you could connect inputs to hi or Low dircetly.
Uncle Krunkus recommended 20K resistors between the inputs and +V or GND. I don't know what the resistors are for though, I thought you could connect inputs to hi or Low dircetly.
The resistors are used to have unused pins at some defined level, it does not really matter if such resistors are 20 k, 100 k or 0k - well that has been my experienece anyway.
CMOS inputs have a very high impedance, so tiny disturbances in the electrical environment are able to send'm anywhere which can cause the parts that do have to work properly in the same package to do very odd stuff at times.
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