As things have evolved, my interest is becoming focused on:
Getting my computer to play music has been a greater reward than seeing it print:
"Puzzle Solved: press F2 to see solution!"
although those words were very much welcome when first I saw them.
An 8 puzzle is a simple little game consisting of a 3 x 3 grid (containing 9 squares). One of the squares is empty. This allows you to move the other squares around into different positions. The first image to the left might be thought of as a "solved" 3 x 3 8 puzzle. The second image might be thought of as an "unsolved" 8 puzzle.
The terms "solved" and "unsolved" are completely arbitrary here. What is important is that a puzzle in a given "state" must be transformed into another state through a series of "moves." Given that there is only one space on the puzzle board, only one square can be moved at a time. Any such a move yeilds a new "state." It should be noted that (perhaps obviously), puzzles need not be limited to 3 x 3 in size.
Imagine the notes above being played in simple meter (eg., 1/8 note for each square) reading from left to right, top to bottom. We'd then have the following "composition:"
D E C F G B C A C D E F G B ... | first "box" | | second "box" ...
Please excuse my lack of staff notation above, but I'm not really a MIDI kind of guy. But that explains the general idea.
There seem to be an almost limitless number of ways to use the idea.
I'll just start with one example for the time being. The following is a short piece using an 8 puzzle described in the above manner. The solution is a run up the blues scale. I'd be curious to know what folks think about it.
The AI part was done using GCL 1.0 and the musical part was done using the Computer Music software package Cmix (the strum instrument). If you'd like to see the .sco file used to create the above soundfile, click here (strum-8.sco).
| Visit the RTcmix for Linux page |
Go back to my home page
|