By the Numbers

Here is a new track I made, featuring more use of my harmonic ratio arpeggiator.  I was also using my Pitch Bend Tuner to tune my hardware synths to the microtonal pitches the arpeggiator was generating.  An interesting aspect of making tracks with the ratio arpeggiator is that there are no longer any “notes” in the traditional sense.  They are notes just the same, but I’ve gotten to the point where I stop thinking about normal note names, and have started to get a sense of how different numbers will sound.  For instance, higher numbers are generally more dissonant, and numbers with common divisors (or factors, or whatever you call it–i’m not a mathematician) generally sound good together.  An interesting new world!

A diagram from Harry Partch's book, "Genesis of a Music" showing different ratios' correspondence to notes in an equal temperament scale

A diagram from Harry Partch's book, "Genesis of a Music" showing different ratios' correspondence to notes in an equal temperament scale

Here is the track:

Solar Flare MP3 Audio

I quite like how this track turned out–I will probably be including a longer, more structured version of this in an upcoming release.

Let me know if you like it, and enjoy!

The God Chord! Just Intonation–Overtones, Octaves

On some previous blogs i’ve written on, I had a series of articles that I called “The God Chord” where I talked about tuning, the overtone series, and all the magical connections between numbers, math, frequencies, geometry and music.  I think that the simplicity and beauty of the numbers behind music have been obscured behind arcane music theory systems that confuse the intuitiveness of the origin of the fundamental materials of sound and music.

I’ve talked to a lot of people and musicians who are intimidated by music theory.  I think there is a reason for this–western music theory doesn’t make any sense!  I consider all the words and ideas in old-school music theory to be the product of a centuries long cultural evolution that never gave a second thought to being clear or logical. 

fourier_harmonics     

Sine waves (odd number harmonics) combing to create a square-wave shaped waveform.

Anyway, enough ranting.  Let’s get down to the numbers.  After familiarizing yourself with how musical frequencies are related, thinking about music from a mathematical standpoint is a lot more intuitive and direct.  There are two basic materials that everything in music is based on:  octaves, and the overtone series.

Musical notes are described numerically as frequencies, or in “cycles per second,” denoted by the term “hertz” or “hz.”  The wonderful thing about frequencies is that they are also used to describe the electromagnetic spectrum, including visible light, radio, micro, gamma, and x-rays, or, if you want, the rotation and orbits of planets, anything that repeats periodically.  The incredible thing about all of this, is that musical frequencies can be related to all kinds of phenomena–the light emitted by the sun, the resonances in minerals and atoms, with simple ratios.  This begins to explain why I’ve titled this series “the god chord.”  Because, I think, if God really exists somewhere, I think God is a frequency.  Or a melody. Or, most likely, a CHORD.

 If you need to catch up on your frequency theory, check WIKIPEDIA

So, as I mentioned before, I wanted to describe octaves, and overtones.  Let’s start with frequencies, and octaves.  

Musical frequencies are Logarithmic.  For instance, if we are in the key of A (440 hertz), the next octave up would be at 880 hz, and below, 220 hz, and so on.  All of these frequencies, that are powers of 2 of the original frequency, are considered the same note, but just at different locations.  This phenomenon is highly useful and fundamental to nearly all music in all cultures.  If you were to describe this in ratios, with 440 hz being 1/1, then 880hz would be 2/1, 1760hz (the next octave up) would be 4/1, and so on.  220 hz would be 1/2, 110hz would be 1/4, etc.    incidentally, 2/1 and 4/1 are both Overtones.  Any frequency you can imagine has duplicates of itself in octaves going toward infinity both above and below, beyond the range of human hearing, and the scale of human perception.

OK.  Now, let’s talk about the overtone series.  The overtone series is also described by mathematicians as the Harmonic Series.  Like the octaves I was just describing, the overtone series is infinite, only limited by the range of human hearing and the physical properties of whatever object is projecting the frequencies.  When analyzing a musical tone, you can clearly see the overtone series in its frequency components:

Harmonic partials in a piano tone.     

Harmonic partials in a piano tone.

Let’s start with a frequency of 440 hertz.  

The overtone series is simply the original frequency, multiplied by every integer, starting with the number one.  so, 

440*1 = 440

440*2 = 880

440*3 = 1320

440*4 = 1760

440*5 = 2200

and so on, until infinity.  

In musical notation, the overtone series looks approximately like this, though most notes in the overtone series can’t be accurately represented in this kind of notation:

approximate representation of the overtone series on a musical staff     

approximate representation of the overtone series on a musical staff

This very simple mathematical series is the root of all musical scales and harmonies.  

It sounds like this:

Harmonic Series Demo

It might sound vaguely familiar to you.  If you’ve ever played the harmonics up and down a guitar string, those are the same frequencies. Periodic (repeating) musical tones are all built from these frequencies. In fact, here is a simple recording of me playing the harmonics up a guitar string, until the 8th harmonic in the harmonic series. 

Guitar Harmonic Series Demo

You can count along with the notes, and each number will be the corresponding harmonic:  Just count:  

1, 2, 3, 4, 5, 6, 7, 8, 7, 6, 5, 4, 3, 2, 1.  

The first harmonic is the “fundamental” and that is just the sound of me playing an open string.  If you listen close, you can hear certain intervals.  For instance, the 3rd harmonic is a perfect fifth, the 5th harmonic is a major third (doesnt’ make sense, right?).  I personally love the sound of the seventh harmonic, which is a lot like a “minor seventh,” but is actually about 30% of a semitone flat from the interval you would play on a piano.

As opposed to an octave, this series is an Arithmetic Progression, not a logarithmic one.  the octaves of the fundamental frequency, are the fundamental multiplied by 2, 4, 8, 16, 32, 64…. So, you can see that, between each octave further up the overtone series, the overtones become more closely spaced.  At some point, the frequencies become so close together that it is difficult to for the human ear to distinguish them.

Allright.  I hope you’re still with me!  After these fundamentals, comes the interesting stuff.  Now, we can combine the concept of the octave and harmonics to make all kinds of scales and harmonies.  The trick is to take the frequencies in the overtone series and move them downwards (or upwards) with octave displacement to make the tones fit into a normal musical scale.  For instance:

As described above, the fifth overtone of A 440 is 2200 hz.  2200 divided by 4 (this moves the note down two octaves)  is 550 hertz.  That is the exact frequency of a harmonically pure major third (the note C# in the key of A).  On a well-tuned piano, the note would be about 554 hertz.  A small but noticeable difference.  And when you put more of these notes together in harmonies, you can really hear the beauty of the tones interlocking with their pure mathematical relationships!

Here is a demo I made just to show some very simple, overtone-based harmonies.  Hopefully you can hear the quality of the overtone series, that I showed in the previous audio examples here, but applied in a looser context.  Just a very simple improvisation, but I can’t get enough of those pure harmonies.

Overtone Chords Demo

Hope you made it all the way through, and I hope I grabbed your interest!  Check back, I will be writing more about this subject, with more illustrations and audio examples.

Golden REAKTOR VOSIM!!

Well, for all you poor bastards who don’t own a G2 modular, and can’t use the VOSIM patch I made for mine, I have put together a VOSIM patch in Reaktor.  Actually, part of the reason I made it was just to implement some features I couldn’t get in the G2, and because I thought it might sound different in reaktor.

part of the GUI for the vosim synth

part of the GUI for the vosim synth

 

It does sound different, and, actually, I think it sounds better in Reaktor!  Part of the reason (geek speak here) is that the ramp oscillator in Reaktor allows more precision for syncing the waveforms and there are less jitter artifacts.  Also, reaktor just sounds good :).  I was also able to mess around with a couple tricks that are easier in reaktor than on the nord.

 

another snap of the GUI

another snap of the GUI

The architecture of this synth:  It is a 3 OP VOSIM/FM hybrid.  The 3 oscillators can frequency modulate each other, and are all fed into the same VOSIM “burst envelope” which creates the fundamental frequency, and the 3 operator/oscillators are what create the formants.

I found that using a little frequency modulation can add a lot of texture to the vocal sound, or just help in creating a lot of crazy textures.

I’ve also included a fairly comprehensive modulation section.  There are only a few presets, but there is really a lot of possibilities in this synth, so enjoy!

I made a simple track to show some sounds from this Reaktor patch.  It was just a fun quick demo, but there’s some good textures in there, anyhow.  The pad/abstraction sounds are from the VOSIM synth.  The “techno” sounding synth and the drums are from the nord g2 modular.  

unsavory Associations Mp3 audio

and here is the reaktor patch:

golden vosim reaktor patch

Modular Sequencing: Structures and Sounds

Over the past year I have been using and loving five12’s modular sequencing application, Numerology.  Numerology introduced me to the idea of modular sequencing.  I even posted a full review of the program here:

 

Numerology Review

 

These days, modular synthesis seems damned popular.  There’s an incredible amount of analog synthesis modules available from different companies and everyone and their mother (every rich guy and his mother, at least) seems like they have acquired or are on the road to getting a modular synth.  Well, that’s great, and sure, i’d get one if I could afford it.  To me, though, modular *sequencing* is a lot more interesting than modular *synthesis* right now.

 

 

Modular Sequencing in the nord g2

Modular Sequencing in the nord g2

 With modular synthesis, you design signal paths to create sounds.  But with modular sequencing, you can design sequencer networks to create musical structures!  If you have interesting control data, you can create better sounds.  And if you have interesting structures, you can make sounds  more interesting by creating a compelling musical context for them to exist in.  With a good sequencer, you can send complex control data to even the most boring synth module to make it come alive.

 

There are a few options i know of for doing this kind of sequencing.  Numerology is one of my favorites, but there are other platforms too.  I have been doing a lot of sequencing on my g2 modular, which has excellent sequencing modules that are fast and intuitive to use.  This track, for instance, was completely sequenced from my G2:

 

Archytas’ Alaap Mp3 audio

 

And in case you were interested, this track actually features one of those greek scales I was discussing in my previous blog.  It’s Archytas’ Enharmonic Scale.

 

The g2 costs over $1000, though.  And it’s discontinued.  And Five12’s Numerology only runs on OSX!  What’s a PC user without a g2 system to do?  Well, I’ve been so intrigued by the possibilities that this type of sequencing offers, that I decided to make my own modular sequencing system in Reaktor that is inspired by my experiences with the g2 and Numerology.  So hopefully, i’ll be creating another option for interested parties.  The thing about modular sequencing is that the whole is much more than the sum of its parts.  You can use a few very simple sequencing modules, if you find a clever way to control them, to create very nice evolving sequences.

 

 

snapshot of the beta version of my reaktor sequencer

snapshot of the beta version of my reaktor sequencer

This sequencing system is very much in Beta.  Actually, I just started on it this week.  But hopefully there is going to be more modules soon.  And as soon as I have something more comprehensive going on, I might write up some simple documentation.  So, for now, this ensemble is not for the reaktor n00bs out there.  But feel free to give it a go!  Just have it send midi to somewhere.  Look inside the structure and see where the control data is coming from.  have fun!

 

Here is a very simple demo track I made with this sequencer.  I am only using the “gate seq” and the “control seq” to send a monophonic sequence to my tx81z.  Just an experiment, but I think there is a lot of potential!

 

Reaktor Sequencing Demo

 

Here’s another demo, also, just straight midi being sent to my tx81z:

Reaktor Sequencing Demo 2

 

 And finally, here is the reaktor ensemble:

 

Reaktor Modular Sequencing ensemble (beta)

 

Ancient Greek Scales!

Earlier I posted here about using pythagorean tuning in my music.  Many other Greek philosophers had ideas about tuning instruments, however.  A book I have, “Tuning and Temperament, a Historical Survey” by  J. Murray Barbour, had a good list of Greek tunings in it.  I didn’t find the book very interesting, because it focuses more on Temperaments than Just Intonation, and the author, like many others, approaches the subject with the idea that modern Equal Temperament is the pinnacle of all musical systems.  But, hey, there are some good scales in there!  I’ll share them here, to save you all some time :).

I have also been using Scala, a scale editor and librarian application, which has a ridiculously comprehensive listing of different scales, which I believe also encompasses the scales that I’ve put into this reaktor macro.  The problem with Scala, i’ve found, is that there are just too many damn scales, and variations on scales, to even know where to begin.  This doesn’t work for me. I am just taking things one step at a time, and finding little areas within microtonal and just intonation, and exploring them individually.

 

Thanks for the scales ptolemy!  We're one step closer to the music of the spheres.

Thanks for the scales ptolemy! We're one step closer to the music of the spheres.

I took a micro tuning macro that I snagged from the Reaktor User Library a while back, and put these scales into it.  I dont’ remember who made this macro, so if anyone knows, please speak up, and i’ll give the original author credit!  Anyhow, the scales I found were from Ptolemy (more famous as an astronomer), Erastothenes, Archytas, and Didymus.  

Greeks made scales out of groups of tetrachords, which are just basically small scales spanning the interval of a perfect fourth.  These Greek scales all have a similar flavor, because they are built in the same way: two tetrachords, separated by a major second (the ratio of 9/8) in the center.  Because of this, every scale here has the intervals of the perfect fourth and a perfect fifth.  Also, these scales are all somewhat “phrygian” in character because they generally all start with a small step much like a half step, and finish with one of the many variations on a  minor seventh that is found in just intonation.  I really love how these scales are all unified by a similar method of construction, but all have their own different characters!  That is what I was talking about earlier: finding an area, and exploring it.  Systems like this are very interesting to work with.

I have set these scales up (since they are all made of 7 notes) to play on all the white keys of the keyboard.  But if you play through the different modes of these scales, you can get even more different flavors! 

Here is the Reaktor macro:

Greek Scales Reaktor Macro

Harmonic Ratio Arpeggiator

I’ve gone on another microtonal trip lately, and have been working with ratios again.  The thing about composing music with frequency ratios is that it places you in a brave new world where each interval is made up of TWO numbers instead of one (as in the traditional system, a fourth, third, fifth, etc).  There are also all kinds of undiscovered tones and frequencies and relationships.  There has to be a way to explore all this!

 

picture of the GUI for the reaktor arpeggiator

picture of the GUI for the reaktor arpeggiator

 

For those of you that aren’t hopeless music nerds like myself, a frequency ratio is just a relationship between frequencies.  It is also the language of a tuning system called “just intonation.”  A basic example:  In the key of A, with the root frequency being 440 hertz, the A in the next higher octave is related to the original note a440 by a frequency ratio of 2/1, and is 880 hz.  A major third is the ratio 5/4, or 550 hertz.  Instead of the normal 12 steps per octave of Equal temperament, there is an infinite gradation of frequencies that you can manipulate to your heart’s content.  

 

With all that freedom comes massive confusion.  I have been trying to come up with some systems for composing with these numbers.  The first most obvious idea would be to just make a fixed scale, choose a few notes, and play with that.  That is fun!  But, it doesn’t take advantage of all the flexibility that working with just intonation truly gives you.  Instead of just choosing 7 or 12 or 10 notes, you can start with a set of 5 notes, and make them mutate and evolve into an infinity of other frequencies, but all logically related by numerical relationships!

 

This is my first system for making melodies and chords in just intonation: a harmonic arpeggiator.  There are two different tables containing numbers for the numerator and denominator, and these tables can be moved through independently, at different speeds.  Midi input triggers notes, but only the time and octave of the input notes is taken, and the rest is controlled by the ratio sequencers.

 

I have implemented this system in both my Nord g2 modular and in Reaktor, so I can make them work together.  

 

Here is a simple melodic sort of track I did with the g2 patch:

Mp3 Audio of “Hydrogen”

 

Here is the Reaktor patch:

Reaktor Harmonic Arpeggiator

 

Here are a couple g2 patches:

G2 Harmonic Arpeggiator with Karpluss Synthesis

 

I will be coming up with more stuff soon!  I want to make some programs that allow you to dynamically change the scale as you play.  Not sure how easy that will be to do in the g2, but I’ll definitely be able to do it in reaktor.

 

Micro Tune your MIDI synths with Reaktor

More microtuning stuff: I’ve been using my TX81z and reaktor lately for synthesizing microtonal music.  I didn’t realize I had another way to get microtonal sitting right under my nose: I could just use reaktor to microtune my synths using pitchbend data!  The limitation of this method is that you can only have one note per midi channel.   However, with a multi-timbral synth, you can still make harmonies!  It’s a very simple patch, as you can see:

microtuneInstrument

It’s very basic:  the pitch goes into a microtuning macro, the midi pitch is quantized by a modulus operation, the difference between the microtuned note and the equal tempered note is sent to the pitchbend output.  piece of cake!

Link to the reaktor file

Here’s a demo of what this sounds like, with a gamelan scale, using my MKS-70

Microtonal Gamelan Melody on MKS-70 synthesizer

The God Chord: Reaching back in Time

An interesting aspect of using special tunings is that it gives you a way to reach back in time and use some of the exact same tunings as older musicians, even ones from almost 3000 years ago!  The greeks wrote down their tuning systems, and they have been translated in numerous publications.  The greeks used a multitude of different scales, all of which would be called microtonal by modern standards.  Harry partch, mentioned in a previous blog, was also interested in these ancient tunings.  Here, for example, is a recording he made with one of his instruments in an ancient greek scale (which is actually explained in one of the following linked websites).

 

Listen to Partch playing an ancient Greek Scale

 

Most famous of these greek tuning magicians is Pythagoras, who is known for his mystical leanings and mathematical discoveries as well as his eponymous tuning system.  The story of pythagoras and his vegetarian followers is a different, but very interesting chapter from what I’m pursuing here–but that sort of thing only adds another layer of interest to an already interesting subject!  

 

pythagoras-1

the dude

 

 

Today I tuned my synthesizers to the ancient scale of pythagoras and pretended I was a polyrhythmically multithreaded robot strumming a lyre at the foot of mount olympus.  Zeus will probably zap me any minute now.

 

 

zeus zapping

zeus zapping

One of the best sites I’ve found with information on tuning and Just Intonation also has a lengthy section on the math and ideas behind ancient Greek Scales.  Make sure your thinking caps are on, because it’s quite technical: 

Music and Mathematics

 

And for you music theory heads, here is a website that goes into many of the details of Pythagorean tuning:

 

More details on Pythagorean tuning

 

Pythagoras’s tuning is the most mathematically simple way to derive a normal major, or diatonic, scale, and requires no ingredients other than the numbers 1, 2, and 3.  Our normal system of tuning is loosely based around a “5-limit” tuning system, which means that the ratios our frequencies are related by use no numbers greater than 5.  Pythagoras’s tuning, by logical extension, would be called “3 limit.”  It may sound conceptually elegant, but in the numbers, it isn’t.  For instance, in a C major scale, the ratio defining the relationship between C and E (a major third) is 5/4.  Because there are no fives allowed in 3-lmit tuning, pythagoras instead stacked 3’s on top of each other until he could get a similar note, defined by the ratio 81/64, which is quite out of tune.

 

That is just one example of the result of blindly sticking to an appealing idea, regardless of the consequences.  Our modern equal temperament tuning system also comes to mind.  Different tunings, have different flavors, however, and I decided to get old school today.  There are quite a few different ancient tunings available, all of which I’m excited to experiment with and try!

 

Here is the track I made in pythagorean tuning:

 

Link to track “Dune Beetle”

 

tech notes:  This track was made with five12 Numerology sequencing my tx81z and a reaktor ensemble I made, all running through various distortion pedals and outboard reverbs and delays.  The main track is in 5/4, but there is some 4/4 and 7/4 layered over the top of it, rhythmically phasing with it.  It was recorded live so there are some little moments of feedback as well.

 

 The pythagorean tuning I used in this particular track doesn’t come across as strong as the other microtunings that i’ve used, because the pythagorean system is somewhat similar in sound to equal temperament, and also because of all the crazy effects and layering that I used :).

God Chord: Gimme Seven

I’ll explain this God Chord business later.  I spent most of today doing some research on different harmonic ratios for tuning, and thinking about constructing scales out of them.

sevenFingers

What's wrong with this picture?

 

I made a couple little ratio etudes with a scale that I sort of “found,” where I focused on ratios with sevens and multiples of sevens in them.

Here’s a picture of the reaktor macro where I set the ratios–and you can see the ratios I was using:

sevenScale

Rice Scales... sounds like something a ricemutt would be into.

Anyhow, here are a couple audio files of the scale etudes I was working on.  This scale didn’t sound half bad!

Seven Scale: Phased looping melodies MP3 Audio

Seven Scale: Chord Loop MP3 Audio

And, as I’ve mentioned earlier, I’ll have more blogs explaining all this nonsense in the future!  Let me know if you have any questions, i’ll be glad to answer.