Adding CV inputs to the Auduino granular synth

Adding CV inputs to the Auduino granular synth

When I first got into the Arduino I went looking for audio projects. One of the first things I built was TobaTobias’ Auduino granular synth. I was so impressed I built a permanent unit in a heavy duty enclosure and incorporated it into my occasional sets and demos.. This simple project makes really impressive sounds- from clean bass to dirty, brassy highs. Whenever I play out the funky growl of the Auduino granular synth gets people’s attention. With this project I will add inputs so that the Auduino can be controlled by an external sequencer, in this case a Lunetta CMOS based noise synth.

Adding CV inputs to the Auduino granular synth

A Lunetta is a DIY sound generator. They are modular, meaning they consist of multiple discrete units. The modules are connected with patch cables- wires with alligator clips that can be rearranged in many ways. Lunettas are built with CMOS logic chips. These chips are the basic building blocks of computers and digital circuits. They are used to create, combine and control binary digital signals- ‘ons’ and ‘offs’. In a typical Lunetta set up the pins of these chips are connected to metal posts. These posts can be connected with the patch wires to create complex circuits that produce tones, rhythmic patterns, melodies and many weird sounds.Here are few tracks made with my Lunetta- Confidence is High and Makeshift Morgue.

For this project I’ll be adding vactrols to allow the 12v from the Lunetta to control the 5v input of the Arduino. I’ll also add another vactrol to act as a gate, turning the output signal on or off with an external signal.

My Lunetta is one of my favorite projects ever! It has over thirty modules- from oscillators and counters to dividers and rate multipliers. It’s built into a gun case that my buddy Gordy rescued from a dumpster. The panels are made from 4″ PVC fence posts cut down to size. I’ve had more use and entertainment out of it than anything else I’ve ever built. I will be building a new one soon and writing an instructable about the process. For now enjoy this introduction.

Step 1: Preparing the Arduino.

I connected my Arduino to the computer with a USB cable and went to the Auduino Instructable and opened the sketch in my editor. I had the choice of how I wanted my granular synth to make notes. It can be set to make a chromatic or pentatonic scale with distinct notes or it can be set to a smooth scale where there are no stepped notes at all. The granular synth I use for performing is set to have stepped pentatonic mapping. This makes it sound very musical. For my Lunetta project I decided to use the smooth note mapping to match the chaotic nature of the instrument. The mapping changes are all explained inside the Auduino code. Be sure to read the Auduino Instructable for a better idea of what we’re doing.

Step 2: Preparing the panel.

Adding CV inputs to the Auduino granular synth circuit

The panels of my Lunetta are made from PVC fence posts. I cut about three inches from the middle of two opposite sides to create two flat panels with right angled short sides for rigidity. This is a really cheap material and it’s very easy to mark and drill. The panel I’m using for the Auduino is at the end of the instrument and is cut to fit the contour of the case. I used graph paper to lay out my posts and pots. The pots are standard 10k pots salvaged from an old mixing board. The posts are made from a bolt, washer and nut. I taped the paper tp the front of the panel and used a sharp awl to mark the center point of each part. I used a hand drill to drill out the holes using appropriately sized bits for the intended part. When everything was drilled I populated the panel to make sure everything would fit. When I was satisfied with the results I removed and wired the pots and reinstalled them with knobs. I wired the common power and ground leads of the individual pots and installed leads to connect to the Arduino’s +5v out and ground. It is important to color code your leads to make it easier to connect everything at the end. By having the same color wire carry the signal from start to finish within the circuit it also makes it much easier to figure out what’s wrong if it doesn’t work right. I started with the top pot and soldered a lead to the center lug- purple, blue, green, yellow and orange respectively. The controls are frequency, pitch A, decay A. pitch B and decay B. I also decided to use white wire for the audio out and gate portion of the circuit. At this point I tested the Auduino by connecting the colored wires to the corresponding analog pins on the Arduino. I connected the common power and ground leads from the pots to the board and connected digital pin 3 to an amp with a ground connection. Everything was A-OK so it was on to the next step.

Step 3: Building and Setting Up the Vactrols.

I wanted to add inputs to the five control knobs for control voltage (CV) from my Lunetta noise synth. Since the Lunetta is a raw lofi instrument this project will use a very basic form of CV. Don’t expect one octave per volt precision like you find in modular additive synthesis or midi gear. This isn’t an instrument for writing music, it’s an instrument for discovering music. My philosophy regarding the Lunetta is to just let it do it’s own thing- the circuit knows how it wants to sound.

Since the Lunetta operates at 12v and the Arduino’s analog inputs want 5v I decided to use DIY vactrols to allow CV from the Lunetta to control the Auduino.. A vactrol is basically an LED coupled with a light dependent resistor (LDR or photoresistor) in a light proof casing. An LDR is a variable resistor. Instead of relying on a rotating knob like a potentiometer, the resistance of an LDR is determined by the amount of light shining on it. The dimmer the light, the higher the resistance until the LDR blocks all current. When a current is passed through the LED of the vactrol it illuminates and allows another current to flow through the LDR. By varying the current to the LED it gets brighter or dimmer which changes the resistance of the LDR and current at the output. This variable voltage is used to control another circuit, in this case the pitch or decay of our Auduino.

Read more: Adding CV inputs to the Auduino granular synth

Leave a Comment

Your email address will not be published. Required fields are marked *