Intro To Lunetta CMOS Synths
Intro To Lunetta CMOS Synths
I s there anything that you have come here to find that is not here?
I s there anything that you were looking for that this document failed to deliver?
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Acknowledgements
Introduction
Community
What is a Lunetta CMOS Synth?
The format of this eBook:
What is “in The Lunetta Spirit “?
See more examples:
Hear Some Examples
Integrated Circuits
Put in a description of what an integrated circuit is and why they are desirable.
How to think about CMOS ICs(And integrated circuits in general.)
WHAT ABOUT ALL THE OTHER CHIPS?
Why CMOS?
What about OpAmps?
Building Blocks
Your Power Supply
Community comments about power supplies:
LEDs
Decoupling Capacitors
Pull Down Resistors
Oscillators
DIVIDERS
Logic Gates
Shift Registers
PITCH MAKERS
More Block Ideas
NOISE (white/pink/etc)
Mixers
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Getting advanced,
The Slacker Melody Generator
My standard starting point:
the R/2R DAC
Interfacing with other devices.
Other info
Contact me:
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Acknowledgements
Thank you to everyone that has contributed to the document!
Thanks very much to anyone who comes to read this document, I’m so happy that people find it
worthwhile, and I would very much like to get back into the swing of things, and this might
actually happen in a couple of months.
If you have any suggestions on content to include, Comments are now enabled. Or feel free to
get in touch at [email protected] .
Introduction
Welcome to the Lunetta forum at Electro-music.com ! People around the web might call these
machines Lunetta CMOS Synths, or CMOS synths, but around here we just call them Lunettas.
This tutorial is meant to be a guide to starting out with building these machines and get you
having fun as soon as possible.
One of the first things that people get frustrated with when starting to learn about this is that no
one can really give a good brief explanation of what the heck a Lunetta is let alone tell you how
to build it. That's because no two machines are exactly alike and the specific parts used can be
a pretty personal decision.
However, there are some common modules that almost everyone builds at first, so we'll go
through those to get you started. After using these blocks you'll probably understand enough to
run with any CMOS datasheet you get a hold of.
Community
I need community to stay interested in a topic. I need other people to bounce ideas with.
Luckily we have a great DIY Synth community at: http://electro-music.com/forum/forum-160.html
Please stop by and say hello|!
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
What it isn't:
-It's not a device to reproduce/synthesize sounds from the natural world.
-It's not a perfectly tracking 1 volt per octave precision musical keyboard.
-It's also not very complicated.
THE WHOLE POINT is to use whatever you can get your hands on in as simple a way as
possible.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Examples
Have you ever seen one of those 130-in-1 electronics kits? Each component on the board has
springs that you can connect with wires? Most of these will include at least one digital IC,
usually a NAND gate.
Can you spot the NAND gates in this image? Can you identify the various components
mounted to this panel?
http://sciencestore.co.uk/acatalog/EK1102L.jpg
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
You could say that this item is in the spirit of what we're doing. Components with their
connectors directly wired to a panel or interface. Very flexible, very quick to get ideas going. In
fact, I still have my 130-in-1 lab and use it in my Lunetta, there are a lot of useful things on that
panel!
A Lunetta is the same basic concept, the pins of the ICs are connected directly to panel jacks
that you can connect together using wires. Some people use alligator clips to connect them,
some people use banana jacks, but it's all the same.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Don’t get intimidated with these crazy looking things. Inside is just digital chips, and each of the
pins of the chips is connected to one of those jacks.
That's really the whole point. Learning what the different types of logic chips do, and making
use of them in interesting ways.
Want to build one? You're brave, read on!
Les Hall used to do a great radio show on radio.electro-music.com. He has done shows on a
variety of topics and here we can find an MP3 of his Lunetta Show.
http://electro-music.com/forum/viewtopic.php?t=36130
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Quoting Mosc: “I've gotten requests to go into depth on the little cheap simple digital synths
called Lunettas. These machines are named after Stanley Lunetta of Sacramento, California.
Stan informally taught a few of us how to build these things in the early 1970s. He was an
inspiring teacher, to say the least. He never liked us calling these things Lunettas, but, Stan, you
don't always get what you want. We call these Lunettas as an homage to a great man, a
creative inspiration to me and many others.
Lunettas are very simple, digital, noisy, quirky, and lots of fun. Forget the analog synth model -
no VCOs, filters, ADSRs, and that stuff. In some way, these aren't synthesizers because they
aren't designed to synthesize any sounds. They are certainly electronic musical instruments. “
He's known as sTANg on the EM forums, here's a thread where he shares some of this stuff:
http://electro-music.com/forum/viewtopic.php?t=38352
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
The moosack machine is a sculpture that produces, mixes and processes electronic sound. In
the present version, the machine routes these sounds to four speakers placed in four corners of
a room, and also to an audio transducer contained in the sculpture in the center of the room.
The moosack machine has two parts. The first, completely contained in the sculpture, consists
of four variable oscilators, two power regulators, and a large number of input sensors. The input
sensors detect changes in light, temperature, wind direction ands well as movements of people
around the sculpture. These components are assembled as a sculpture, using the resistors,
capacitors wires, etc. for their appearance as well as for their various electronic functions.
The second part of the moosack machine contains four mixers, the fixed oscillator/frequency
divider unit, the relay box, the digital logic system, plus filters, phase shifters and
reverb/tape-echo units.
The variable oscillators, controlled by the input sensors produce constantly changing output
signals; e.g., continuously variable sweeps and/or disjunct leaps in either direction, amplitude,
and time-event changes, and off/on functions. The output of each variable oscillator is mixed
with one of the outputs from the fixed ocillator/frequency-divider unit and is sent to the digital
logic system.
The digital logic system consists of a 16-bit digital counter/decoder, modified to have four inputs
and eight outputs. Each output will function only when the inputs are in specific states. For
example, output X1 will function only when the outputs of oscillators A, B and D are positive,
and oscillator C is negative. Further, the four fixed oscillator/frequency-divider outputs (A,B,C,D)
must also be positive-positive-negative-positive, if the output is to function. The fixed
oscillator/frequency-divider unit moves from positive to negative at a very slow rate, changing its
state one to three times per minute. Thus, the output of the digital unit consists of the
relationships between variable and fixed oscillators.
Through the relay box, the four outputs of the digital unit have control over the on/off functions of
the electric motors in the sculpture, turning the "cut-out wheels" and affecting the light-sensitive
input sensors. There are also photo-cells that override the X outputs, turning off the relays.
The four Y outputs of the digital unit are used as audio outputs and are, of course, square
waves. These outputs are either filtered, phase shifted, sent through reverb/tape-echo units or
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
frequency divided. The resulting sounds are then heard through the four amplifier/speaker
channels. The fifth channel, a transducer in the sculpture itself, is taken from one of the mixers
before the signal is sent to the digital logic system. Ideally. the moosack machine should be
activated in the morning and allowed to play through the afternoon. The only human control over
the moosack machine is the on/off switch. The recording in this issue was not edited or
"composed" in any way. The moosack machine was allowed to play for 23 minutes. The record
contains activities from the third to the eighteenth minute.
Now that we know a bit more about the man, let's learn a bit more about the machine.
There is some foundation knowledge you'll need to grasp.
There is a difference between analog circuit and digital circuits. Lets say you have a circuit that
runs on 9 volts. An analog circuit can make use of all the voltage values between 0 and 9v to
do its work. A digital circuit works differently because it only recognizes two states, full voltage
and no voltage.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
A Square wave can be called a digital function, since it's going 1,0,1,0, over and over again.
A Square wave can be used as a CLOCK, providing a timing reference like a heartbeat that the
rest of a circuit will base its actions on.
A square wave can be a musical tone if you use it at a high enough frequency, with the pitch
determined by its frequency.
Integrated Circuits
Put in a description of what an integrated circuit is and why they are desirable.
We have a variety of ICs that are great for creating oscillators, which will generate square
waves for us to mess with and do interesting things.
For example:
A 40106 IC can make 6 square wave oscillators with some added components. Others can too,
but 40106 is very popular because it's easy to use.
A 4093 IC can make 4 square wave oscillators.
A 4060 has a built in oscillator with some nice surprises.
A 4046 has a very interesting set of tools including a voltage controlled oscillator.
What happens between the input and the output is a useful function.
-gate functions (NAND XOR etc)
-switching, analog and digital
-shift register - the more irregular the data going in, the more interesting the output will be.
-counter
-divider
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
The different CMOS ICs each have a function. You input something and something else gets
spit out the other end. There might be more that one input and more than one output. The
outputs can either change (modulate) the pitch (frequency) of an oscillator or the same output
can be used as the clock reference for another IC.
A Lunetta machine, then, is a way to study how these different functions can interact.
Some ICs just count up to a certain number. The 4017 IC counts up to ten over and over again.
The input is a clock, just a squarewave of a tempo that you choose, and there are ten outputs
(0-9). So every time a clock ticks it'll step through each of the outputs and make it go High.
People build sequencers with this. Check out the “Baby 10”.
Some of them just add two signals together, some divide a signal by a certain amount(4040 is
my favorite), some act as switches depending on whether the input is high or low. It can get
really complex. In an Interview posted on this forum Stanley Lunetta described using the
counter as the frequency base for a note's pitch. People have also converted the high/low
outputs into a variable stepped voltage stream that can interact with a voltage controlled
oscillator.
NOTE* I have a feeling that more illustration and explanation needs to go into explaining the
concept of what an IC does, what do you think?
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Why CMOS?
http://electro-music.com/forum/topic-23876.html
Why CMOS, and why the 4000 series? Why not the 74XX series, or something else?
QUOTE MOSC
CMOS is the logical choice because:
CMOS is very forgiving to power supply ranges. Usually, you can use virtually any DC voltage
source you have.
CMOS is low-power by nature. CMOS only uses power when the logic changes from one state
to another. Since our circuits will usually clock at low frequencies (audio is very low frequency
compared to usual logic rates).
The CMOS 4000 series is a good choice for standardizing because parts are cheap and readily
available. 4000 logic can almost always work interchangeably with the 74C000 series, just in
case. 4000 can also drive TTL in some cases as well.
Are there any rules to building these things? What is properly in the "Lunetta Spirit?"
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
At some point you'll come across a circuit that looks useful and makes use of an Operational
Amplifier. Since Lunettas are all about experimentation, fun, and learning stuff, sure, try it out.
Let's try this as a general rule for opamps in Lunettas: If you have at least a vague
understanding of why you need an opamp and what purpose it serves and why a cmos chip
can't do that, go for it.
What you should recognize though is that opamps are a different animal than cmos logic chips.
They're analog and seem to turn up in output stages of circuits. Lunettas are digital creatures.
So while they'll be useful for lots of reasons it's recommended to try to focus on the cmos stuff
for now.
But it’s your machine and your fun, so do whatever you like. Chase the knowledge, it’s fun.
The opamps listed above can work on a single power supply, that's the positive voltage and
ground.
Some opamps will require a dual supply, for example both plus and minus 9volts, and ground.
ICs like the TL0xx series are going to need that. Eventually you're going to need that if you plan
to keep going with this stuff.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
-a digital multimeter
Learn how to use the continuity tester. Learn how to measure ohms to find a resistor's
value. Learn how to measure DC to test a battery to see how much juice it has left in it.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
7805 5v regulator
Get an amp, a simple 386 amp will do just fine, like the Little Ruby.
Passives
-Resistors - 1k, 10k, 100k,
-capacitors - get a variety pack if you can
Useful Links
http://djjondent.blogspot.com/2017/08/cmos-useful-chips-for-lunetta-synths.html
https://chrisbeckstrom.com/the-modular/synth-diy-faq/
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
http://electro-music.com/forum/viewtopic.php?t=42357
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Building Blocks
Here is a schematic for a basic 5v regulator circuit that can be run on a 9v battery:
Would you rather run on a +/- 9v supply because you’re using opamps that require a dual
supply? Use two 9v batteries that are chained in this way:
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
RF says:
my 2 cents -
The CMOS does fine at 5 volts - if you are going to stay all CMOS that would be fine.. 9 is
handy if you want to power it from batteries... and a bi-polar supply with 9 volt batteries is easy...
I've used 12 quite a bit - either cause I had the regulators, or because I wanted a + and - 12 volt
supply to use with bipolar circuits in the Lunetta. My other equipment used + and - 12 as well. I
have not seen any advantage to 15 volts...
Rykhaard says:
In my first modular building days in about '92, I went with +/-9V. Coming to wishing for a far
more stable power source, I moved to a well regulated Power One +/-15V 1.5 amp supply.
For my noise machine that I started building a year ago February, I started with +/- 9V. Within a
month, I tried everything in it, with my +/- 15V supply and it all worked just the same - just with
higher otuput voltages. (But it will all still work with +/- 9V as well. And the -9V is only needed in
the very few places that have bipolar opamps. The rest runs on the +9.
When I start building things with my PICs, they and everything connected to them will be strictly
+5V.
Rykhaard says:
A Legend of sorts, previous to the explanations:
As I've had explained to me in the past, you may think of what's coming out of a battery (or out
from the outlet in a house) to power things, as 'water'.
- The SPEED that the 'water' is travelling, is the same as the VOLTS that the source is putting
out.
- The AMOUNT of the 'water' that is coming out from the source at that 'speed', is AMPS (or
current)
- if you multiply the amount of Volts by the amount of Amps, your answer will give you the
amount of WATTS that the supply is.
LEDs
Everyone loves blinky lights, and Lunettaheads are no different. They do represent a bit of an
expense though, so the use of them is totally up to you. I left them out of my machine, but to tell
the truth I kind of regret that and wish I had integrated them earlier. Blinkies are awesome.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
They can give you a lot of instant visual feedback about the nature of the signals travelling
around your flow. Consider it!
Remember your resistors for each LED. Try the superbrights, they pull much less current than
the normal ones. I use the normal ones in mine, they pull about 20mA each where the
superbrights pull 2mA.(Sayeth the Ryk)
Decoupling Capacitors
Each IC that you build into your sound machine will need a decoupling capacitor. This is merely
a small value capacitor(I use 103) that is very close to the IC, and connects both to its power
and ground pins. This conditions the power supply local to the IC and stabilizes things.
A Diode - in most cases, only allows CURRENT, to travel in 1 direction. (Under normal
operation.)
A Resistor - will limit just how MUCH current, is able to travel through that resistor.
A Capacitor - may be thought of as a 'water bucket'. The capacitor when it has a current coming
into it, will take in current until the measurable voltage from that capacitor to Ground, is equal to
the voltage of that current coming in and filling that capacitor.
Also - a capacitor will BLOCK a DC voltage (Direct Current voltage) - the same current that the
capacitor is charging up with. But, a capacitor will allow to pass through it, an AC voltage
(Alternating Current voltage)
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
AC voltage comes out from the outlet in your wall / walls / etc.
Now - you had mentioned building the 4 x CD40106 oscillators in 1 section, which were all
working fine, by themselves.
You had also built 4 x NAND gates around the CD4093 in another section, which would cause
PROBLEMS with the 4 x oscillators, when both chips were powered from a single battery!
Here, we have 4 oscillators. Each of them are turning ON and OFF as each of their Capacitors
are filling with current and then emptying themselves of the current. Each of those oscillators
are causing draw of current from the battery. EACH of them. They will be causing a little bit of
trouble for that poor little CD40106 as each of them oscillates.
As well - when the NAND gates in the CD4093 are switching ON and OFF, they ALSO will be
drawing that current.
Each of those 2 chips will be taking away the current that is available FOR them from that single
battery.
A solution here (that I wasn't taught until 1991), is add a SMALL capacitor as close as possible
to the power INPUT pin, of EACH of those chips. That will help to give each of them a 'reservoir'
of current, that they may draw from, when they wish to turn on and off, each of their oscillators.
The mostly standard value of capacitor for hooking up to the Positive Voltage input of each chip
is:
To assist a few chips that may be working together on a circuit board, is also a very good idea to
have a larger capacitor, to act as a larger reservoir of current for 'everybody' that is on that
circuit board. The greater the amount of chips that are on there, the larger the capacitor we
normally use.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Get a mega pack of 100k resistors because you're going to need them (or any value between
15k and 100k will be fine)
Here's a good thread about why pull-down resistors are important:
http://electro-music.com/forum/viewtopic.php?t=40754
Check solder joints and make sure nothing is touching where it shouldn't.
You will screw up, relax and try again in the morning.
Oscillators
Enough talking, let's make some sound.
Audio rate oscillators - These oscillators go high and low so quickly that we perceive it as a
musical tone. The faster the oscillator the higher the pitch. They can even go so fast as to be
inaudable to the human ear, but your dog is going to be very annoyed with you. This frequency
can be divided to get an octave down effect.
LFOs (Low frequency oscillators) These oscillators switch on and off at a slower pace than an
audio rate osc. It's slow enough that through a speaker you'll hear the switching as a clicky
sound.
LFOs are very useful, they can provide a timing reference, they can switch things on and off,
lots of things.
DIVIDERS
http://electro-music.com/forum/topic-24981.html
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Here's the deal on dividers. You can input one squarewave and get several in return.
Awesome.
Connect a fast oscillator into the 4040's input, then look at the outputs, perfect divisions of the
source frequency, multiplying the amount of signals you can work with
Logic Gates
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Logic gates are sort of simple. The output can be only high or low, right? So the logic gate uses
conditions to decide when the output is high or low. NAND for example. If either input is low,
then the output will be high. So try this, set up an LED at the output of a NAND gate and put two
similar but not exactly the same logic oscillators as the inputs (slow ones so you see the action,
and make sure your other inputs on the chip go somewhere.) Instead of a regular on/off stream
you'll have little stutters of the LED lighting up. That's what we want, to make irregular and
unpredictable streams of DATA. Send that through another logic gate and it gets even more
irregular and funky.
Shift Registers
4006
4015
4024
Think of clocks as usually regular predictable on/off streams. 1010101 over and over. Any
oscillator can be a clock. It sets the timing for the shifting.
Think of Data as less predictable streams of highs and low. instead of 101010101, you can get
stuff like 10010111100010010100110101001. See?
So a shift register is like passing a bucket of water down a line of people. The first person
passes on a full bucket of water, and it goes down the line of people. Then he passes an empty
bucket of water down the line. The clock determines the speed of the passing down the line of
outputs, and the data input determines the high or low status being passed down the line of
outputs. That's why we need logic gates to make interesting irregular streams of data to pass
down the line.
You could up the clocks to audio rates and listen to the shift reg outputs.
Or build the 4051/4017 melody generator and use the shift reg outputs as our A,B,C selectors.
Or send those through resistors(which results in varying analog voltages) into a VCO and listen
to them. Any of your oscillators will be good for that, try making a slow oscillator and sending
your voltage into the circuit at one of the legs of the potentiometer. The oscillator will wig out,
make sure you're listening to it. If that's one of your main logic oscillators then it will flip out,
good times good times.
And then your one logic gate output of interesting data gets turned into several outputs of
interesting irregular data. LEDs will help visualize what's happening there.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
PITCH MAKERS
--------------------------------------------------------------------------------------
http://electro-music.com/forum/topic-23896.html
QUOTE MOSC
Once we have little cheap digital oscillators we need to make some pitch patterns.
One of the easiest to use is the modulo-n counter. You can get a 4018 chip that does this
function. I don't do building any more so I leave it as an exercise for someone to post the way to
set the pinouts.
There is no need to do anything but wire up the 4018 to the banana jacks.
-------------------------------------------------------------------------------------------------
I think the best way to illustrate this is by building the Slacker Melody generator using the 4017
and the 4051.
NOISE (white/pink/etc)
People into modular synths know that noise is a useful thing, particular for percussion synthesis
like hi hats and cymbals, or as a component of a snare drum sound. The topic has come up on
the forum about how to achieve this effect using CMOS
---------------------
http://electro-music.com/forum/topic-23939.html
QUOTE MOSC“In a Lunetta, you really don't need noise sources. Just run a few OSCs into a
gate modulator and you'll have plenty of nice noise. Whatever gate you use with two audio rate
signals gives you a lot of noise - that is a very broad bandwidth signal. Run two sigs like that
through another gates and it will be very noisy. But this isn't synthesis like additive or
subtractive. This is something rather unique. You would never us a Lunetta to try to make some
"sound". You use it to discover sounds that it can do.
”
or connecting the output of two audio rate oscillators into the inputs of a logic gate
(NND/AND/OR/XOR). The output will be noise-like in the manner we want. If you make two of
those noisy outputs and run them into a third logic gate the effect really works nicely.
----------------
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
danielwarner suggests this:
QUOTE “A nice way for getting noisy results out of CMOS like the 40106 is a simple power
supply starve pot”
Mixers
http://electro-music.com/forum/topic-23909.html
“It's perfectly OK to build an OP amp analog mixer in your Lunetta. This is especially useful as a
final output device.”
****************************************************
***Patching a Lunetta***
****************************************************
A Lunetta Patch is the intentional connection between two or more ICs.
For Example, you would connect one end of a patch cable to the output of an Oscillator, and the
other end to the input of a Counter IC, like 4017 decade counter. The outputs of the 4017 might
have LEDs attached, and they can also be connected to other ICs.
When making connections on a patchable Lunetta, it would be useful to keep in mind the three basic
outcomes of any patch. (Advanced outcomes to follow)
***************************************************
***Possible inputs to a Lunetta Device***
****************************************************
2. Data, either self generated or from external (if the grounds are connected)
3. CV, either self generated or from external (if the grounds are connected)
***************************************************
***Possible Outputs from A Lunetta Device***
****************************************************
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
1. Tones - These are oscillations that are fast enough to be perceived as a musical note.
2. Data - These are signals that are meant to connect to the inputs of ICs with the intention of
switching or passing information. Data can be a basic square wave, which is regular and
predictable. Data can also be an irregular and unpredictable set of 0s and 1s.
3. CV - Control Voltage of any value between 0volts and the positive power supply. This is intended
to control a Voltage Controlled module, like a VCO or VCA. To generate Cv, you need to do a Digital
to Analog conversion. This can be done with a DAC IC or with something called a Resistor
Ladder(also called R2R) That gets explained later.
4. Clocks - This can be an oscillation of any speed, used to regulate the rate of an IC's activity. Not
all ICs need a clock. ICs usually benefit from quite high speed clocks, but you can experiment with
any speed you like.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Lunetta Interconnect
by Les Hall
www.electro-music Lunetta Forum
Introduction
The choice of interconnect is a practical, personal, and cost-driven one. In the following text I
describe the primary methods of Lunetta interconnect.
A very inexpensive method of interconnect is to use connect your circuits with nuts and bolts.
For wires you use alligator clips on either end of each wire and protruding from your synth are
the ends of bolts. This method saves space and breaks the cost barrier as well. Consider it to
be your choice if you want low cost and the ability to make lots of connections per terminal.
Wires
If you're breadboarding the circuit, then all you need is 24 gauge solid wire to hook things up.
Screw Terminals
One very compact way to do interconnect is to use screw terminals. You can get 0.1" spacing
screw terminals that hold up to two or three 24 gauge solid wires per terminal for about $0.40
per terminal from suppliers such as www.digikey.com and others. This is a fairly pricey
alternative, and you would only choose it in situations where space is a premium or for doing
sculptures. The screw terminals require that you have a really tiny slotted screwdriver to make
the connections. I feel that this method is best suited for situations like patching on a Lunetta
PCB and not for entire systems like a Lunetta modular.
Conclusion
There are a few different methods of doing interconnect for Lunettas so the choice is up to you.
Naturally you will want to select the best alternative for your situation.
by Les Hall
www.electro-music.com Lunetta Forum
Introduction
There are several ways to construct your Lunetta circuits, each with their own advantages and
disadvantages. Depending on your budget and building skills, you may wish to use any of the
techniques described below or more likely a combination of them.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Advantages of the modular synthesizer construction method include the elegance and
functionality of construction and the ability to patch modules using essentially the same system
as high quality modular synthesizers. If a suitcase or other portable enclosure holds the circuitry,
then the system is nicely portable as well. Disadvantages include higher cost than other
construction methods and the requirement of mechanical fabrication. If you want to patch your
Lunetta circuits together in the same way as done with expensive, high quality modular
synthesizers then this is the construction method for you.
Conclusion
The construction method that you select is a personal choice depending on your budget and
skill set, as well as your available time. I recommend beginning with a single breadboard and
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
building various simple circuits on it, then graduating to one of the other techniques according to
your preference. No matter what construction method you use, your Lunetta circuits will work
essentially the same. Good luck, and happy building!
When you are having inputs that DO have something hooked up to them, it is a standard
practice in music electronics to give the inputs a 100,000 ohm impedance. 1 end of the 100k
resistor (1/4 watt - is the standard size), can be hooked up directly to the input and the other end
can be hooked up to the input connection to that chip's input.
Another way to do it, is to run the 100k resistor from the input pin to Ground and then the input
connection for that chip's pin, to the junction of the 100k resistor and that chip's input pin.
(There are further explanations relevant to that, but for the moment I'll just leave it at that - as
I've been explaining a few things already and don't wish to dump too much down on you at 1
time. )
Finally - as to Outputs, it has been standard practice since about the mid 1970's, to put a 1,000
ohm 1/4 watt resistor on to the output pin from the chip. This is handy especially, if the Output is
ever accidentally SHORTED to somewhere else, that output will only allow:
The Output Voltage DIVIDED by the Output Resistor's ohm rating amount of CURRENT, to short
to wherever it is going.
Now that SHORT - will be pulling that MUCH current out of that chip! And that chip, without that
protecting output resistor, may _NOT_ be very happy at all.
And now, REALLY, finally - that formula that I just dropped into your mental lap, is probably 1
of THEE most important formulas in electronics to memorize and become familiar with - Ohm's
Law. To calculate it, we use the following specifications:
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Ohms law = :
Symbolically:
Code:
V
-----
I*R
[/code]
And there we are for now, class. Aye. There is another new chap that has become interest in
Lunetta building as well. Any of you could begin your own beginner's threads, or you could join
in with someone’s (which collectively, may be better for informational organization.) That's up to
yourself and where you feel most comfortable.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
A single cap in series with an signal is known as a DC blocker. It's also known as AC
Coupling. So if your Lunetta for some reason has some DC component that might damage your
gear, the single cap will keep it on the Lunetta side of the street, so to speak.
What size? You can experiment but 0.1 uF is a good starting place. The bigger the cap, the less
low frequency attenuation.
Of course if you are using a Lunetta to generate CVs to go to other analog gear, then the cap is
going to defeat that. Here's the dilemma; most commercial sound gear is AC coupled on the
inputs, so your added AC coupling on the output isn't going to add more protection - but it will
not hurt either. Your modular analog synth gear is DC coupled because of the needs to handle
DC level control voltages. Most synth circuits don't provide over voltage protection, because
they assume their CV inputs are coming from within their own system or are in safe bounds
already.
So, if you are using your Lunetta to drive CVs, then just make sure you never exceed the
capabilities of whatever it is you are driving. There are over voltage protection circuits you can
use, but that's for another topic, unless someone want's to post them here. ""
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Getting advanced,
- Inputs -
1 audio rate clock. that's just a square wave that's fast enough to be perceived to be a musical
tone.
3 slower logic clocks (data) - these should be somewhat irregular streams of 1s and 0s, slower
than audio rate, maybe about half a second between changes at first.
-the setup-
4017 is the IC that actually changes the notes that you're going to be hearing. It does this by
dividing the audio rate clock. The divisions are different depending on which of its outputs are
sent back into the reset pin.So connect 8 of the 4017 outputs to the 8 inputs on the 4051.
4051 is the IC that we're going to use as a router to choose which of the 4017 outputs is going
to be sent back into the 4017's reset pin.
The 3 slow clocks (low frequency oscillators) are applied to the 'select A,B,C' pins of the 4051,
this tells it which of the several input signals gets routed to the one output on the 4051.
-Output-
The first output of the 4017 is the audio output that will be sent to the amp or mixer.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
This is a sound machine based on the 4093 chip, which has 4 schmitt trigger NAND gates on it.
WSG
http://musicfromouterspace.com/analogsynth/YOUR_FIRST_SYNTH/WSG_Reborn/WEIRDSO
UNDGENERATORREBORN.php?page=WSG
Ray Wilson has created the ultimate beginners project that is very friendly with the things we're
talking about here. 6 oscillators based on the 40106 and an awesome lowpass filter designed
around a 741 op amp. The filter is so good and simple to construct that people often use that
portion of the circuit in other projects.
Here's the thread that started it all.
Stanley Lunetta
http://electro-music.com/forum/topic-23215.html
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Project plans:
3. Electri-Fire's designs
http://electro-music.com/forum/viewtopic.php?t=38634
4. Les Hall's Boolean Sequencer
Boolean Sequencer Tutorial
by Les Hall
www.electro-music.com Lunetta Forum
http://electro-music.com/forum/viewtopic.php?t=38163&start=25
(errata: " And as I mentioned to droffset in the chat room last night, a correction to the doc is
that the input clock must be at twice the note rate, not once per note, so it would be 8Hz not
4Hz. ")
One way to get some really cool sounds from a Lunetta circuit is to build a Boolean Sequencer. I
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
created the concept of the Boolean Sequencer myself and people tell me that it is a new
concept, however I like to say that I reinvented it rather than invented it because it has existed in
various forms for many years. Here's how it works.
First, make an LFO clock signal of your choice. This clock is usually of a constant frequency,
though you could vary the frequency over time if you like. The notes produced by the Boolean
Sequencer will normally occur once per clock cycle, so if you like 4/4 timing then make the clock
be 4Hz.
Second, send your clock into a CD4040 binary counter chip. You'll want to use a pulldown
resistor of any value from 20k to 1Meg on the reset input so that the counter will actually count.
Third, add some logic chips like AND gates or XOR gates and connect the inputs of the logic
gates to the output bits of the CD4040 chip. You can use any type of logic you prefer and you
can add as many layers of logic as you like. This is where the creativity of the Boolean
Sequencer comes into play because the logic that you set up will determine the sequence of
notes that you get.
Fourth, use a passive component network such as an R2R ladder or a voltage summation
circuit to combine the outputs of the logic that you created into an analog signal.
Fifth, buffer the signal with a voltage follower using an op-amp chip such as a TL074. Drive this
into a VCO made from a CD40106 oscillator, then buffer the VCO output with another voltage
follower and send it out to a jack with a DC blocking cap and a 1k resistor in series. This will
enable you to drive the output signal into a pair of amplified speakers or into the line-in jack of a
computer for example.
OK that's a lot to understand, so I'll explain some more about the Boolean Sequencer. Unlike
many other sequencers, the Boolean Sequencer can produce very long sequences of notes.
Normally you have 8 or 10 or 16 steps in a step sequencer, however a Boolean Sequencer can
produce a huge number of steps. You can create any binary number of steps such as 256 steps
or 4096 steps or whatever, though you can make the sequence be any number of steps by
playing a little reset trick.
The CD4040 has a 12 bit output count, which is 4096 unique output states. If you were to make
use of all 12 bits as input to your logic, then you would get a 4096 step sequence. To put that
into context, at four quarter timing (four notes per second) a 4096 step sequence will last for
1024 seconds. That's 17 minutes of continuous music before the pattern repeats.
In addition to the long sequences, a Boolean Sequencer will often produce repeating patterns of
notes, or phrases, that change a little bit as they occur. These phrases are typically a binary
number of steps as well. Yet another curious aspect of the Boolean Sequencer is that it will
often produce moments of silence mixed in with the notes. This occasional silence can add a
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
dramatic element to your music. In practice I have found that using a sum of products logic
network causes lots of dramatic gaps, while using XOR gates generally produces no gaps at all.
As an example I will describe one Boolean Sequencer that makes nice sequences and great
sounds. Start with a LMC555 timer or a CD40106 inverter and send that into a CD4040 binary
counter. Then add a CD4030 quad two-input XOR chip and connect the outputs of the CD4040
chip to the inputs of the XOR gates. Next connect the four outputs of the CD4030 chip to four
resistors and connect the other end of the resistors together. Send the combined signal into a
TL074 quad op-amp or any suitable op-amp to buffer the signal. This buffers the signal so that
you can do the next step, which is create a CD40106 oscillator and connect the output of the
op-amp to the power supply pin of the CD40106 chip. Use another one of the op-amps on the
TL074 chip to buffer the CD40106 oscillator's output and you're done.
In summary you do this: LMC555 LFO => CD4040 binary counter => CD4030 XOR => resistor
summation network => TL074 op-amp => CD40106 oscillator => another TL074 op-amp =>
listening device.
This is a little bit complicated as it involves five chips, but that's OK because it produces really
cool sounds. Here is what is happening in the circuit: The LFO clocks the CD4040 at the desired
note rate, the CD4040 produces a binary count, The CD4030 establishes the sequence of
notes, the resistor network creates a stepped analog control voltage (CV) signal, and the TL074
along with the CD40106 serve as a voltage controlled oscillator (VCO). Clear as mud? Good!
Now go build one for yourself!
type here
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
type here
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Good Books
CMOS cookbook
Nic Collins Hardware hacking
50 CMOS IC projects - RA Penfold
CMOS IC info
http://www.qsl.net/yo5ofh/data_sheets/
http://www.kpsec.freeuk.com/components/cmos.htm
http://en.wikipedia.org/wiki/4000_series
http://dropmix.xs4all.nl/pipermail/synth-diy/
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Other info
About musical notation from this thread:
http://electro-music.com/forum/viewtopic.php?t=40243
""""""""""""""""""""""""
QUOTING ELECTRI-FIRE
"""""""""""""""""""
In musical notation, a bar (or measure) is a segment of time defined as a given number of beats
of a given duration.
http://en.wikipedia.org/wiki/Bar_(music)
The time signature (also known as meter signature) specifies how many beats are in each
measure and which note value constitutes one beat.
Simple time signatures consist of two numerals, one stacked above the other:
the lower numeral indicates the note value which represents one beat (the "beat unit");
the upper numeral indicates how many such beats there are in a bar.
http://en.wikipedia.org/wiki/Time_signatures
The tempo of a piece will typically be written at the start of a piece of music, and in modern
music is usually indicated in beats per minute (BPM).
http://en.wikipedia.org/wiki/Tempo
To set tempo, you need to change the speed of the clock LFO. A fixed speed of 4 Hz has a BPM
of 240 (120BPM after the 4040 has divided by 2 at minimum, as Droffset pointed out).
Barlines in musical notation are a means to organize/ facilitate the reading of music, but it is
artificial, ermm.. fiction. The actual notes just continue, and you could divide a piece of music
into bars of any length without changing the music when played.
If you play the same piece faster, more notes (beats) will be played during a minute, thus you
have a higher BPM.
So to play more notes in a minute with your sequencer you increase the speed of the clock
LFO.
""""""""""
The only thing about the 4040(my favorite) that worries me is the asynchronous outputs that a
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
ripple counter brings, but it does add some expression to the note changes. I like the idea of
4017 based dividers that give really nice synchronous /2 /3 /4 /5 etc divisions but haven't built
one yet.
About beats and measures all I can add is that there's a reason we see more 8 and 16 step
sequencers than 10 step ones, because a lot of music is based on 4 beats per measure. If you
count the beats in music some repetition of a musical phrase will normally occur, for example:
http://www.youtube.com/watch?v=0epDXa6hsJg
Bass drum is on 1 and 3, snare is on 2 and 4.
1234
1234
1234
1234
Waltz music is 3/4, so if you count along with the music it'll go
123
123
123
123
http://www.youtube.com/watch?v=Ob6TTU1knUM
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.
Contact me:
I need feedback and suggestions. I'd also appreciate fully typed out contributions and
illustrations!
My name is Sergio
My email address is [email protected]
Check out my blog at http://droffset.blogspot.com
Twitter @droffset
Disclaimer - This is a work in progress and could be edited at any time. I do this for free and for
the benefit of anyone visiting Electro-music.com because they have been very helpful and
friendly in my search for fun and knowledge. I've tried my best to give credit to all of the people
who created the ideas and images contained here but if you see your work or links to your work
here and want it deleted let me know and it'll get fixed. There's no need to pay for this info, but
if you'd like to donate ICs or any toys to circuit bend I'd be very happy to accept them. Sohere
it is!
Hello! Thanks for visiting. Please feel free to share what you’re working on at
[email protected] . It would be great to know if people find this place useful, etc.