

About BMB
Reasons for development
Broken Music Box is developed as a toy. My family (but not me) had a chinchilla (a type of
big mouse) as a pet which likes to listen to music from music boxes. It was so smart that
it would get bored if you play the same song repetitively. However, it got illness and
passed away. The BMB program is more or less developed as a "toy" for that purpose.
It takes approximately one year to develop the program, but the big mouse will never hear
any songs again.
The name of BMB
The name of Broken Music Box reflects its imperfect and incomplete nature - it can only
generate monophonic tones in G major; the song would start and end with "do"; there is
no guarantee that a song can be generated and the song generated may not be melodic
at all; Further, the user does not have control over the program or provide any settings for
the program
Technique / Trick used in the program
The main technique/trick in the program is Markov Chain. Whilst the term sounds to be
technical, it means that when a monkey types on the keyboard aimlessly for million years,
there will always be a chance that it can type a complete sentence (among the other
erroneous and mistaken cases). The program applies this trick to generate music.
The program can be improved if more advanced technique such as Search Tree are
adopted. However, my heavy workload means there is insufficient time to improve the
program.

Broken Music Box