


Q: What is Algorithmic Music Composition?
A:Algorithmic music composition is the process of making music from an algorithm or process. This has been around for ages, from Pythagora's music theories, to Mozart's Musical Dice game, to advanced procedures & programs like cgMusic, or Lexikon-Sonate, & SoundHelix.
Q: How does this process work?
A: Lets say you have this algorithm:
count = count + 1; //Play note w/ piano key countEvery time a beat is counted this algorithm would play the next note up every time a beat is counted. Although this is a fairly simple algorithm it is still technically an algorithmic composition.
Here's another one that's a little bit more advanced:
note[0] = 0;
note[1] = 2;
note[2] = 4;
count = irandom_range(45,85)
for (i=0; i<=2; i+=1)
{
if round(note[i]/count)=note[i]/count
{
//Play note[i]
}
}
This example will only play certain notes on a scale. This is a random choice, though, and the procedure is likely to never return the same results twice.Here's a final example:
//
note[0] = 0;
note[1] = 2;
note[2] = 4;
note[3] = 5;
note[4] = 7;
//
step = 5
count += step*count;
while count > 12
{
count -= 12
}
for (i=0; i<=4; i+=1)
{
if note[i] = count
{
//Play note[i]
}
}
This is will check if the note falls on the scale, and play if it does. This will always return the same result. By changing some variables (in this case step) you can change the outcome. For more on Algorithmic/Procedural Music Composition/Generation check out this: Algorithmic Composition on Wikipedia
Change log:
v.1.2-B: New features: Pause, Randomize all tracks, Randomize all seeds, Vary all seeds, Randomize track, Randomize track seeds, Vary track seeds. New Save & load functions. Updated visuals. Fixed a few small UI issues, fixed a program breaking error regarding Delete Track.
V.1.1: Added save & load, Record (buggy), Single track pause, 5 new algorithms, ability to switch between algorithms
v.1: Initial release
Download here! (includes some tracks I made).
YoYo Games Sandbox
Old Downloads
v.1.1
v.1.0
Tell me what you think =)
Edited by Lemon Pie, 21 April 2012 - 10:59 PM.











