Category Archives: Electronics

Interview with Brandon Aleson

Digit - Brandon AlesonThis is an inter­view with Bran­don Ale­son about his new col­lab­o­ra­tion with Jesse Mon­ti­ni-Vose enti­tled Dig­it. The piece in an inter­ac­tive instal­la­tion which will be pre­sent­ed Sat­ur­day, Sep­tem­ber 7th, 2013 as part of the NEPO 5k Don’t Run 2013 city wide art par­ty. The tools used include Pro­cess­ing, Arduino and the Kinect.

For more infor­ma­tion about Bran­don vis­it:

For more infor­ma­tion about the Nepo 5k and the Nepo House vis­it:

Screen shot 2013-09-03 at 11.27.45 PM

The making of the Vallecula, an interactive mini sound instal­la­tion

First things first: Thank you to my hus­band Joseph Gray for help­ing me with design­ing the box and with the ini­tial set­up and test­ing of the Arduino com­po­nents. Also, a huge thank you to my teacher Ben Kamen who gave me so much great feed­back and helped me every time I hit a wall cre­at­ing the Max patch­es.

So here it is. One of my lat­est endeav­ors, an inter­ac­tive mini sound instal­la­tion, cre­at­ed using Max MSP and Arduino.

The Tools

Wiki says it best “Max MSP is a visu­al pro­gram­ming lan­guage for music and mul­ti­me­dia…” Below are a few screen­shots show­ing seg­ments of patch­es used in the instal­la­tion.Max MSP PatchMax MSP Patch


Arduino is a sin­gle-board micro­con­troller designed to make the process of using elec­tron­ics in mul­ti­dis­ci­pli­nary projects more acces­si­ble…”

Arduino 1

The Val­lec­ula is an instal­la­tion that uti­lizes 20 dif­fer­ent cus­tom Max MSP patch­es, trig­ger­ing 100 vocal sam­ples.  The piece was pre­sent­ed at the North­ern in Olympia, Wash­ing­ton on June 5th. Sam­ples of what com­posed by the audi­ence using the con­troller can be heard below.

The Vallecula
The Arduino makes it pos­si­ble for the con­troller to com­mu­ni­cate with Max and many oth­er pro­grams. There are a total of 12 dig­i­tal ports, that com­mu­ni­cate with 1’s and 0’s. The Arduino also has 6 ana­log ports, that com­mu­ni­cate using volt­age, 0–5 volts.

I used 8 dig­i­tal ports for my but­tons and switch­es and 4 ana­log ports for my knobs. When the but­tons are pushed it trig­gers the mes­sage to change from 0 to 1, that 1 can be used to trig­ger what­ev­er you like in Max MSP. On my con­troller I use it to trig­ger patch­es that include: gen­er­a­tion of ran­dom tones (sam­ples) and ran­dom rhythms, revers­ing the direc­tion of all sam­ples, con­trol­ling tonal shifts and trig­ger­ing sin­gle sam­ples. As you can see, the mes­sage from the dig­i­tal ports is super sim­ple, but you can use it to trig­ger what­ev­er you like.

The ana­log ports are a lit­tle more com­plex, but not much. There is a volt­age of 0–5, which shows up as a num­ber between 0 and 1023 in Max, you can write a sim­ple patch to con­vert this to any range you want to. In Max MSP the object box used to con­vert the infor­ma­tion reads like this [scale 0. 1023 100 40]. This sim­ply con­verts the range of 0 to 1023 to 100 to 40. I used this par­tic­u­lar range to con­trol tem­po, so the tem­po range was 40 bpm to 100 bpm. For the shift in tone the same com­mand looked like [scale 0 1023 2. ‑1] rais­ing the pitch of the piece up 2 half steps to down 1 half step.

Max MSP Patch


Concepting and Building

I want­ed to cre­ate some­thing that could be con­trolled by any­one, any age, at any lev­el of tech­ni­cal or musi­cal under­stand­ing. I want each per­son to cre­ate a unique com­po­si­tion and to be empow­ered by act­ing as com­pos­er.

How much con­trol should I give the user? What would be ran­dom­ly trig­gered by Max, and what would be set?

I used the Eb har­mon­ic major scale for the com­po­si­tion. The idea of hav­ing more vari­ety and com­po­si­tion­al out­comes was excit­ing, but I didn’t want to do it at the expense of the user expe­ri­ence. It need­ed to sound good and be easy to use. Each patch need­ed to take up a dif­fer­ent dynam­ic and spec­trum of sound. It took awhile to find tim­bres that sound­ed good togeth­er and stood out on their own using only voice to gen­er­ate the sam­ples.

The first patch­es were trig­gered man­u­al­ly, so I could bounce around some ideas before I start­ed using the con­troller. I start­ed with record­ing the long chords and build­ing the patch that would trig­ger them. Each of the mid­dle but­tons have an assigned set of long tone chords, each time you trig­ger the but­ton it plays the same chord.

The melod­ic burst were next. Each time you press a but­ton it ran­dom­ly selects one of 16 sin­gle tone sam­ples. The rhyth­mic pat­tern for trig­ger­ing the sam­ples is also ran­dom­ly gen­er­at­ed. Ran­dom in this case means that it selects from a 5 dif­fer­ent note lengths, so not ran­dom in a sense that any­thing can hap­pen, but ran­dom in that there is vari­a­tion every time you hear the burst. Each sam­ple is a record­ing of me lay­er­ing my voice on one note, exact­ly 250 mil­lisec­onds in length. The sam­ples are select­ed notes from a Eb har­mon­ic major scale spread­ing over 2 and ½ octaves. Ran­dom, but I have do have it it trig­ger­ing the ton­ic and 3rd and 5th twice as often as the oth­er tones.

Once I had these begin­ning ideas in place I made a few designs for the the box, decid­ing on how many but­tons switch­es and knobs I would have and what they might even­tu­al­ly be used for. I pur­chased the com­po­nents at Radio Shack. The one on Queen Anne has a good selec­tion (inside tip from Joe). Once I had all the but­tons and knobs I mea­sured the shaft width of all the com­po­nents. Joe and I worked togeth­er to cre­ate the design for the box. Joe had already cre­at­ed a gener­ic con­troller called the pro­jBox and we cre­at­ed a design based off of the orig­i­nal mod­el to suit the projects needs. We then had the box laser cut at Metrix Cre­ate Space.

design for Lazer Cutter


wood cut

Then start­ed the process of assem­bling the Arduino, test­ing all the com­po­nents, wiring and sol­der­ing once every­thing was in place.

testing Arduino

When wiring the Arduino you must make sure every com­po­nent is ground­ed. Here we are test­ing the knobs and switch­es.

I glued the box togeth­er and used screws to secure the Arduino and bread­board to the bot­tom of the box.

Building Box




wiring ArduinoAfter installing the Arduino and bread­board I dry assem­bled the cir­cuits.


wiring Arduino2











Then I sol­dered the com­po­nents and wiring at Metrix Cre­ate Space…

Ivory a Metrix









wiring Arduino3

…and com­plet­ed the wiring between the breadboard/Arduino and the com­po­nents.

In my last blog I men­tioned that I had a frus­trat­ing time test­ing the Arduino. I was hav­ing trou­ble find­ing the code to get it to work with Max. I couldn’t find any­thing using the word Arduino in the Max tuto­ri­als, the infor­ma­tion is in the sec­tion talk­ing about ser­i­al ports. The Arduino is a ser­i­al port device.

At this point I was able to assign the but­tons and knobs to the patch­es I had already writ­ten. I had long tones, the melod­ic bursts and a bass line. The base line turn out to be annoy­ing. One of those ideas that you think will be good and when you hear it you know it’s not.

I assigned the these all to but­tons and then start­ed work­ing on cre­at­ing patch­es for the knobs. Knob 1 was a vol­ume con­trol for the lame bass line and knob 2 con­trolled the tem­po of the bass line.

At this point I was in the mid­dle of it and need­ed some feed back. What did peo­ple want it to be able to do?

I brought this ver­sion into the class for peo­ple to inter­act with and I got some great feed­back. I can’t remem­ber the sug­ges­tions I didn’t take but I do remem­ber the ones I did take. It was sug­gest­ed that I use words or do a poem of some kind, that I have a but­ton to reverse the sam­ples, that I did not have a con­tin­u­ous bass line and that I cre­ate some­thing to mess with the glob­al tem­po not just one patch.

In order to raise and low­er the pitch I had to trig­ger all the sam­ples in Max using groove instead of play. With groove you can do more with sam­ples, like rais­ing the pitch and revers­ing the sam­ple direc­tion. So I rewrote all the patch­es for the first time. I rewrote all the patch­es mul­ti­ple times, part of the learn­ing process. I would go in with a com­plete­ly crazy look­ing patch and Ben would say, “you know there is an eas­i­er way to do that.” So I would take apart my hours of hard work and learn I could have done the same thing in a quar­ter of the time.

I could go on for­ev­er about the details and intri­ca­cies of the rest of the process, what I test­ed, what I kept and what I trashed, but then this blog would go on for­ev­er. I did want to talk about the very begin­ning stages though because I think it is inter­est­ing the way things take on their own life and just how impor­tant good feed back is when you are new to a way of think­ing and cre­at­ing. Some­thing I very much appre­ci­ate about the music tech­nol­o­gy com­mu­ni­ty so far is how shar­ing is part of the cul­ture, there is very lit­tle hoard­ing of ideas or fear around some­one steal­ing some tech­nique or tool, it’s all good if some­one uses some­thing you cre­at­ed and builds on it, as long as they give you cred­it.

So, here is a sum­ma­ry of the final prod­uct and a brief descrip­tion of the patch­es that were used.

Vallecula Map

Val­lec­u­la Map

* Dig­i­tal trig­gers for cen­ter but­tons, that trig­ger sam­ples of sung slow chords

* A dig­i­tal trig­ger for the right round but­ton that trig­gers the melod­ic bursts made up of a ran­dom selec­tion of 16 sam­ples and ran­dom­ly select­ed rhyth­mic pat­terns. The sam­ples are made up of 16 tones that are part of an Eb Har­mon­ic Major scale rang­ing 2+ octaves

* A dig­i­tal trig­ger for the left round but­ton, trig­gers the poem sec­tion. The poem is made up of two vers­es. Each word in the poem has 3 dif­fer­ent note choic­es, so although you hear the same words every time it is a dif­fer­ent melody each time the poem is trig­gered. Each verse of the poem uses call and response, we hear the first words panned hard right and a rep­e­ti­tion of the word imme­di­ate­ly at a low­er vol­ume panned hard left. The sec­ond verse is panned oppo­site of the first. The first verse uses a ran­dom gen­er­a­tor for the note dura­tion and the sec­ond verse has a con­sis­tent rhythm. At the end of each verse there is a back­wards sam­ple of one of the phras­es in the poem. (When reversed the back­wards phrase is the only part you can under­stand)

* The upper left knob manip­u­lates the pitch cen­ter of the entire piece. By twist­ing the knob you can raise the pitch up a minor third

* The low­er left knob con­trols the tem­po of both the poem and melod­ic bursts

* The left on/off switch con­trols direc­tion of all sam­ples

* The right on/off switch shifts the melod­ic bursts up an octave

* The knobs on the right con­trol the LFO fre­quen­cy and depth caus­ing a tremo­lo effect for the long chords and ring mod­u­la­tion for the melod­ic bursts

Duncan with machine


Adventures in Electronics

Over the past year I have been explor­ing and learn­ing more about elec­tron­ics and com­put­er based sound and music. Work­ing with vin­tage tech­nolo­gies like the Buch­la, learn­ing new pro­grams likes Max MSP and Pro­cess­ing, learn­ing how to work with Arduino and build­ing my own con­trollers. It has been a real­ly excit­ing and inspir­ing jour­ney. I love the out­come of this work, both musi­cal­ly and con­cep­tu­al­ly. The next few blog entries are going to be about my dis­cov­ery of new (to me) tech­nolo­gies.

My hus­band, Joseph Gray (Joe), is a new media visu­al artist whose work over the past decade has focused on inter­ac­tive video instal­la­tions. He often works track­ing light, sound and move­ment to cre­ate ever chang­ing and react­ing visu­al pieces. He has been build­ing his own tools for cre­at­ing live ani­ma­tion since 2001, we met at his sec­ond show doing live ani­ma­tion oh so long ago. He often performs/projects live ani­ma­tion with music, but I hadn’t seen or heard any musi­cians using the same tech­nol­o­gy. That is until 18 months ago. I was per­form­ing near Grand Rapids, Michi­gan with Lin­go where I met a com­pos­er named Ken­neth Stew­art who was work­ing with chore­o­g­ra­ph­er Thomas DeFrantz (Tom­my).

Schroed­in­bug Descend­ing a Stair­case from Joseph Gray on Vimeo.

Lin­go was shar­ing a bill with Ken­neth and Tom­my. We saw their sound check/ tech rehearsal and were total­ly enam­ored. We all hit it off imme­di­ate­ly, thank god! We were in the mid­dle of nowhere with no trans­porta­tion, I couldn’t imag­ine how bor­ing it would have been with­out Ken­neth and Tommy’s com­pa­ny. Sean and I spent the first evening drink­ing cheap beer and play­ing with Kenneth’s com­po­si­tion­al tools in their hotel room. The sec­ond night was well…I’ll just say this, if you ever have the plea­sure of singing Karaoke with KT you must request Time Warp, you will not be sor­ry.

Ken­neth is work­ing on his PHD at Duke Uni­ver­si­ty study­ing elec­tron­ic music com­po­si­tion, Tom­my is fac­ul­ty at Duke, that is how they con­nect­ed. Ken­neth was using a Kinect to con­trol the sound for the piece. Push your hand for­ward the sound got loud­er, chang posi­tion of your arm and tones changed. He was using a pro­gram called Max MSP. It was all so new to me, so I did not yet under­stand what was being done (mag­ic), or how Max and the Kinect were com­mu­ni­cat­ing, but it remind­ed me very much of what Joe was doing with col­or and light, but Joe was most­ly using cam­eras, motion detec­tors and a pro­gram called Pro­cess­ing. I was very inspired and want­ed bad­ly to be able to under­stand and use the tools that Ken­neth and Tom­my were using. My mind felt expand­ed con­cep­tu­al­ly and I felt that by hear­ing the gen­er­a­tive sound work I was able to under­stand what Joe was doing on a whole dif­fer­ent lev­el and what might be pos­si­ble musi­cal­ly.

Here is a link to a lit­tle arti­cle about Ken­neth and Tom­my’s work togeth­er.

It was then that the seed was plant­ed, I want­ed to learn the pro­grams that made this work pos­si­ble. So, at the begin­ning of the 2012–2013 school year I enrolled in a class enti­tled Hybrid Music at Ever­green State Col­lege. It was a year long class explor­ing both vin­tage and new tech­nolo­gies. I thought I was qual­i­fied for the class because I had done a year of audio engi­neer­ing school already and because I had used Rea­son to cre­ate my own key­boards. I emailed my way in, con­vinc­ing the teacher that I had the expe­ri­ence and that I was qual­i­fied to for­go the first year elec­tron­ic music cours­es. After the first class it became painful­ly obvi­ous that I was way out of my league and real­ly didn’t have the foun­da­tion­al knowl­edge to under­stand the mate­r­i­al. What was I think­ing for­go­ing a year of intro­duc­to­ry class­es. But, I con­vinced myself I could catch up if I just put some extra time in.

There was a whole oth­er weird dynam­ic going on too, I was the only woman in the course, it was 14 guys and me. I tripped out about it alot the first few months. Why? Why was I the only woman in this class, what did it mean? Music is male dom­i­nat­ed too, but not this extreme. When I was at Cor­nish it was 20% ladies. Is this the way music tech­nol­o­gy is across the boards? This was like 5% and I was the 5%. Is it about inter­est, is it about learn­ing styles, is it about the way in which the infor­ma­tion is taught and shared? I don’t know. What I do know is that this class was real­ly hard and I had alot of catch­ing up to do and on top of it I had to prove that girls could do it too and not embar­rass or tar­nish my gen­ders rep­u­ta­tion in any­way.

Modular SynthWe began with the vin­tage stuff, that meant I had to under­stand how elec­tric­i­ty worked, I still don’t total­ly get this, but I’m get­ting clos­er. Then I had to make music using basi­cal­ly most­ly just elec­tric­i­ty, or at least that is my sum­ma­tion for those who don’t know about the Buch­la or mod­u­lar Synths.

Buchla 1I don’t cry often, the year before I enrolled in Hybrid music I could count on one hand the amount of times I cried. I could count on one hand the times I’de ever cried about any class.  Not so last year, I was in tears at least once a week out of pure frus­tra­tion over this class. Are men so dif­fer­ent with their learn­ing process. I would be will­ing to bet that not a sin­gle dude shed a sin­gle tear over that class the entire year, even the ones at the same lev­el as me. I was alone in the room with the Buch­la try­ing to under­stand how elec­tric­i­ty works and how to turn it into sound and no mat­ter how much I thought I under­stood or how much I got it con­cep­tu­al­ly I could not make that thing do what I want­ed. I banged my head again the wall for a 100 hours in that class the first quar­ter. It went like this, I tried, I tried, it wouldn’t work, I tried, I tried every­thing, it wouldn’t work, I broke down and cried, I walked out­side for some fresh air, I felt worth­less, felt like there was some­thing wrong with me, I felt I would nev­er progress, I calmed down, I tried again, some­times I left, some­times I had a break though and some­times anoth­er, I felt ecsta­t­ic, I was get­ting it, I could do this, I under­stood, stu­dio time up, repeat the next week, repeat, repeat, etc.

Buchla 2The ques­tion I could­n’t help ask­ing, is it because I am a woman or is it because I didn’t take the intro class or a com­bo or none of the above? I will nev­er know real­ly. Yeah my emo­tions and pride were get­ting in the way of my under­stand­ing and learn­ing. Did the guys go through the same thing, but with­out the tears or maybe it just last­ed like a minute before they could clear their head and move on. Why did I had to have a god damn emo­tion­al break­down dur­ing every stu­dio ses­sion?

5 weeks in, I want­ed to stay in the class, but I was real­ly strug­gling, I did­n’t want any­one to know how much I was strug­gling, because I want­ed to stay in the class. So my major break­through, which may not sound like that big of a deal but it was kind of cathar­tic for me, was get­ting over my pride, stop­ping car­ing if I wasn’t at the same lev­el and real­iz­ing the only way I could real­ly get it was to ask for help, lots and lots of help and to stop car­ing if I didn’t look like I knew what I was doing because I didn’t real­ly. So I let Ben Kamen the teacher know and two of my class­mates, the best and the bright­est, Charles See­holz­er and Dun­can Marsh, both in their ear­ly 20’s and both had been pro­gram­ing since they mid­dle school. These were the ones I hit it off with and these were the guys who real­ly helped me out. They had a deep under­stand­ing of what was going on with that beast the Buch­la and oth­er so many oth­er ana­log synth mod­ules. I stopped car­ing if I looked like a fool or was hold­ing peo­ple back and I asked dumb ques­tions when I had them and asked for help when I need­ed it and I start­ed to get it. I mean I wasn’t set­ting the curve or any­thing, but I was keep­ing up with the class and I was learn­ing alot.

The sec­ond quar­ter was a wel­come relief, it all evened out, we start­ed work­ing with Max MSP, oh joy! Now this was the rea­son I took the class in the first place. It turns out I’m way bet­ter with mod­ern tech­nol­o­gy, which is great because that is what is the least expen­sive, most diverse and most avail­able. After work­ing with the mod­u­lar synths where each time you had to rebuild your patch from scratch, it was so love­ly to be able to save a patch and refer back to it, pick up where you left off, I can’t even tell you what a lux­u­ry it felt like. I was in heav­en, I bought Max so I could work as much as a want­ed to any­time I want­ed to and I stayed up many a night until 4 am total­ly obsessed with what I was work­ing on. This quar­ter was not a chal­lenge it was a joy, I didn’t cry again until I was try­ing to test the Arduino at the end of the third quar­ter. Embar­rass­ing­ly my last break­down was at Metrix, in pub­lic, a hack­er lab on Capi­tol Hill. Joe said it was the first time he had seen some­one cry at Metix when their pro­gram wasn’t work­ing. But that is it no more cry­ing sto­ries in this blog.

I spent the rest of the year most­ly focus­ing on learn­ing Max MSP, how to gen­er­ate com­po­si­tion, build effects, and cre­ate my own sounds and synths. I learned how to use Max with Arduino and build­ing my own con­trollers. All real­ly fun stuff and espe­cial­ly cool because now Able­ton is part­ner­ing with Max, so when I upgrade (any day now), I will be about to use them togeth­er more eas­i­ly and there will be so many more peo­ple using Max with Able­ton that the forums and get­ting ques­tions answered online will get eas­i­er and eas­i­er.

I’m going to post a few thing I cre­at­ed and try to explain a bit about the process of cre­at­ing them and share some stuff that I find inspiring…soon.