When RANDOM and CHOICE and either/or, one and the same and neither at the same time.
If you have rules, this doesn’t mean you know the future because rules can require choice and/or randomness.
This is Mechabach. [I didn’t write it – but I did generate and play it]. The rules it follows are down below. But the execution of those rules follow “random choice”.
So it seems like it was consciously written and indeed, it *was* consciously written… but by a the consciousness of the programmer who set the rules for the computer to follow, with randomness as part of the programming. So, not entirely random not entirely pre-written. Yet, entirely pre-written and also could be considered entirely random (with constraints).
How you look at it is up to you.
— from original page of generator—
What is it doing?
It generates several independent tracks, one note at a time. Notes inside beats 1 and 3 are always notes in the tonic chord, and notes inside beats 2 and 4 are always notes in the dominant 7th chord. Since it always works in C major, the tonic notes are C, E and G, and the dominant notes are G, B, D and F. Also the note that is chosen is either the nearest or 2nd nearest higher or lower note to the previous note that is part of the chord it is assigned to. The choice about whether the note is higher or lower, or is the nearest or 2nd nearest is a random choice. For example, if the previous note is C, and the next note falls inside the 2nd beat of the bar, then it may either choose the D or F above the C, or the B or G below the C. As for the rhythm, there are 3 rhythms, each 1 bar long. These are 4 crotchets, 8 quavers, or a hopping rhythm of 4 repeats of a dotted quaver and a semi-quaver. Every bar, it chooses randomly from these 3 rhythms.
Will it ever end?