Play it here: or download this linkSubscribe here:
Microtonal Music is music using more than 12 tones per octave. I compose music using Csound and a preprocessor I wrote in Turbo Pascal. I post small updates as the compositions are being created, and a few final versions once I'm done. I strive towards music that could be played if we had the instruments capable of playing the notes. Think of it as "fake but accurate".
Saturday, July 10, 2010
Amazing Grace - transformed
Monday, July 05, 2010
Amazing Grace - now with a macro inside a macro
.pian c1v67
.any01-1-a1 d12t42
&pian.&any01-1-a1.
This snippet would produce a line like this:
c1v67d12t42
Which would in turn produce a Csound score line like this:
i1 0 42 67 42
Csound would interpret each parameter as time to start, duration, loudness, pitch, etc. There are parameters for many other note characteristics, but that's enough for this example.
I can call a macro by name, or I can let the preprocessor pick one that meets a "wild card" match. For example:
.pian c1v67
.any01-1-a1 d12t42
.any01-1-a2 d12t3
&pian.&any01-1-a*.
This would either call any01-1-a1 or any01-1-a2, chosen by one randomization method or another. That was the limit to the preprocessor up until today. This meant that I would have to generate choices for all the measures in a hymn transformation. In one case, that was over 60 different sets of possible chords to choose from. The transformation of Now Thank We All Our God had over 8000 lines of source code, all done my hand. It was very tedious, and prone to error if I missed a letter or two. And if I discovered one particularly useful way to manipulate a chord near the end of my composition process, I couldn't retrofit it to all the other measures.
The new method allows me to call a macro and change which one I call using simple indirection. For example:
.pian c1v67
.any01-1-a1 d12t42
.any02-1-a1 d12t3
.num 01
&pian.&any&num.-1-a*.
.num 02
&pian.&any&num.-1-a*.
The macro name is resolved inside out: first &num. is resolved to 01, then &any01-1-a* is resolved to d12t42 or d12t3. With recursion, any number of indirections are possible. Gotta love that 1980's Turbo Pascal compiler.
This allows me to chose a different macro for each chord at execution time, but set up a massive number of variations for all chords, without coding each measure individually. That's a 60:1 savings on code size and tedium. All good.
Today's example is the first five chords of Amazing Grace, repeated seven times. The variation is set to maximum, so there are some strange slips and slides, and trills that your ordinary piano can't do. Mine can. It still sounds like a piano, just one that has some extra mechanical do-dads inside.
Play it here: or download this linkSubscribe here:
Tuesday, June 22, 2010
Amazing Grace - up & down
Here's the code for a trill up 16 steps in 72 EDO, which is a good approximation of a 7:6. The trill is 8 times up and down.f 457 0 256 -7 1 16 1 0 1.1665290 16 1.1665290 0 1 16 1 0 1.1665290 16 1.1665290
0 1 16 1 0 1.16652904 16 1.16652904 0 1 16 1 0 1.16652904 16 1.16652904
0 1 16 1 0 1.16652904 16 1.16652904 0 1 16 1 0 1.16652904 16 1.16652904
0 1 16 1 0 1.16652904 16 1.16652904 0 1 16 1 0 1.16652904 16 1.16652904
; 7:6 156 up & down .trl7:6 g156
Graphically it looks like this:
Play it here: or download this linkSubscribe here:
Saturday, June 19, 2010
Amazing Grace - slip sliding away
lf 315 0 256 -6 1 218 1.0000000 12 1.0000000 12 1.0297315 12 1.0594631 1 1.0594631 1 1.0594631 ; 14 up 6 a
lf 363 0 256 -6 1 110 1.0000000 48 1.0000000 48 1.0297315 48 1.0594631 1 1.0594631 1 1.0594631 ; 14 up 6 c
This gives me one function table that rises fast, and another that's slower.
The fast one:

The slow one:

The preprocessor chooses either one, or one that doesn't slide at all.
Play it here: or download this linkSubscribe here:
Wednesday, June 02, 2010
Amazing Grace - sketches for a transformation

The Csound code looks like this:
f 471 0 129 -6 1 4 1 4 1 16 1.0400 16 1.0801 4 1.0676 4 1.0551 4 1.0676 4 1.0801 4
1.0676 4 1.0551 4 1.0676 4 1.0801 4 1.0676 4 1.0551 4 1.0676 4 1.0801 4 1.0676 4
1.0551 4 1.0676 4 1.0801 4 1.0676 4 1.0551 4 1.0676 4 1.0801 4 1.0676 4 1.0551
The function starts at 1 and rises to 1.0801, which is 8 steps in 72 EDO, approximately a 13:12. I have a few dozen of these for the most common intervals. It falls by a single 72 EDO step and goes back up for 8 cycles or so. I think it sounds like a guitar whammy bar.
I'm not sure what this has to do with Amazing Grace, except that the first chord of the song is a G major. Just like Amazing Grace!
Play it here: or download this linkSubscribe here:
Wednesday, May 26, 2010
Amazing Grace - untransformed
I have some ideas about transforming Amazing Grace, probably the most transformed hymn in the history of music. I especially like Ben Johnston's 4th string quartet, which uses the material as a jumping off point into definitely non-hymnic areas. Today's post is just a simple version of the hymn on a spinet sample.
Play it here: Or download this link
Subscribe here:
Tuesday, April 13, 2010
Drei Equale
Play it here: or download this link
Subscribe here:
Monday, April 05, 2010
O Sacred Head, Now Wounded - #14
Play it:
Subscribe here:
Sunday, April 04, 2010
Drei Equale - Beethoven Trombone Quartet
I've used some strange ratios, especially for the diminished triads. Measure 12 starts with a D minor, which I use 10/9 4/3 5/3. In the next chord, the A becomes an Ab to make a diminshed triad. I chose the ratio of 14/9. That makes a 5:6:7 ratio, as in the otononality scale. How else to chose? Where did the diminished triad originate?
There is another diminshed triad in measure 17, last note. I chose 6:11:13 here, and it really sticks out. Maestro LVB would not approve. Any better ideas?
Play it:
Subscribe here:
Saturday, April 03, 2010
Now Thank We All Our God #9

This is a work in progress. This is the current ninth take. It's shorter than the others, at just under eight minutes. The algorithm chooses how long to stay on each chord from a list of choices, one to five beats, then repeats it zero to two times. That way, it can be as short as one beat to as long as fifteen beats on each chord.
Play it:
Subscribe here:
Friday, April 02, 2010
Now Thank We All Our God
This version is another of my Transformed Hymns, which take a familiar hymn tune and stretch it out a bit. Each chord of the hymn becomes a measure or several measures of the transformation. Now Thank We All Our God is a Felix Mendelssohn harmonization of a 17th century tune. There are many unusual chord voicings in the arrangement I have, from the Center for Church Music. There are sevenths in the bass and other unusual arrangements. There are also some challenging comma issues, which I work through by switching from one note to another to preserve the harmony. My goal is to make a good just chord, and so I sacrificed melodic consistency sometimes. If a note starts out as a 16/9 to go with a 4/3, then drifts down to a 7/4 as the 7th in a major chord, it does it. No questions asked. Listen at around 1:45 in this version for the gradual 2 step in 72EDO fall in the Bb. Here it is in score form:
Here is a chart of the notes that I used in the piece. Notice how often the C, F, G, A, Bb are used, and that lonely G# passing tone as a major third to the E natural.
The piece is scored for flutes, clarinets, french horns, trombone, tuba, finger pianos, regular pianos, harp, marimba, and vibraphone.
Play it:
Subscribe here:
Sunday, March 28, 2010
Nosing around some more with ratios
Now Thank We All Our God - find those commas!
At one point in chords 35 - 39 I need a G to go with the D at 10/9 and the Bb at 16/9, and with a C 1/1 E 5/4. So I chose a G 40/27 that drifts up by a step in 72 EDO to a G at 3/2 when it needs to match the C1/1. See the chart for the details. This section is heard at the end of today's excerpt. Find those commas to solve the wolf problems.
Play it:
Subscribe here:
Tuesday, March 16, 2010
Now Thank We All Our God - quite the crowd
Play it:
Now Thank We All Our God - loud piano
Monday, March 15, 2010
Now Thank We All Our God
Friday, March 12, 2010
A Mighty Fortress Is Our God - Transformed take 9
Play it:
Subscribe here:
Wednesday, March 10, 2010
A Mighty Fortress Is Our God - Transformed take 5
The intonation system is chosen from the 72 EDO scale. The notes include the following:
Notice how many more times C, E, G, and A are played. The two D's are less than half as common, and that lonely 7/4 is only played 7 times. See if you can hear it, towards the end.
This version is scored for vibraphone, marimba, finger piano, tuba, trombone, French horn, and flutes.
Here is a link to a nice PDF of the file on the Center for Church Music site. It's not the one I used, but it's close.
Play it:
Subscribe here:
A Mighty Fortress Is Our God - Transformed
Saturday, March 06, 2010
A Mighty Fortress Is Our God
Play it:
Subscribe here:
Martin Luther is credited with this hymn in 1529. Today i present a simple statement of the opening few notes. Familiar? I can't decide if the penultimate chord, on the word "Our" should be
D 10/9 - F# 25/18 - A 5/3 or
D 9/8 - F# 45/32 - A 27/16. Decisions, decisions. Here it is as the latter.
Play it:
.jpg)
