Algorithmic Composition using an extension of Guido D’Arezzo’s Method.
Posted on : 06-09-2009 | By : Francisco Tufró | In : audio, computers, music, science
Tags: algorithmic composition, arezzo, computer music, computers, generative music, guido, mathemáticas, MIDI, music, ruby
4
This video shows one of the last algorithms I’ve been working on.
For you to understand the background of it I’ll explain quickly what’s the Guido D’Arezzo’s method all about, used in his times to teach music composition.
It helped students not to get overwhelmed with the possible choices when composing a melody in the following way (I’ll use an actual music notation not to get you confused.):
The first step is to construct a musical scale. For example we can take two octaves of the C Major scale.

Now, we can cycle over the vowels matching them one by one with the notes.

Now, taking a text (In his times Guido took religious text in latin) we can generate a relation between vowels and notes in the scale we choose.
Take in account that for every vowel there is more than one option, Guido suggested that the election of the note should be made by the composer, looking for the best combination with the previous ones.
Now, for example with a simple text like “Guido D’Arezzo”, we can make the following melody (I will take always the first available note of the list.):

We have made a relation between the text’s vowels and a melody.
My algorithm is based on this idea to generate the melodies, but using another scale, and some magic for rhythm.
Here is a video with a demonstration of what you can achieve with this kind of algorithms…
Wow, that’s pretty cool. Does it only run in Ubuntu?
No, it’s written in ruby using midiator, so it should be fully portable.
I notice that your username is nicktuku. Do you play Old World of Darkness?
Muy interesante Pepi. Esta bueno.