MusicCreator uses a very simple algorithm to determine the rhythm. This algorithm balances randomness with structure.
- Create measure A.
- Start with n eighth-notes, where n is calculated from the time-signature.
- Randomly choose an eighth-note and combine it with the next eigth-note.
- Repeat step b two more times. Note that it is allowed to choose a note twice. Therefore the end-result may end up with 1-3 combinations. The maximum length note that can be created is a half-note, if three adjacent eighth-notes are chosen.
- Repeat step 1 to create a measure B.
- The first and last measures are then "tacked on" to the beginning and end. They are artifically constrained to be whole notes (or the equivalent, depending on the time-signature).