Music Machine 4
(played by a Raspberry Pi using Pygame for Python)

Music Machine 4 uses the 14 cells of music from Music Machine 3 and selects and plays each cell according to the following rules.

There are 25 cells to choose from.
These are the original 14 from Music Machine 3, cells 1 and 8 transposed up 1, 2 and 3 octaves and transposed down 1 and 2 octaves and one cell of silence.
The selection process is weighted so that there is a 5 in 83 chance of one of the original 14 cells being chosen (approximately 84% chance),
a 1 in 83 chance of a transposed cell (approximately 12%) and a 3 in 83 chance of silence (approximately 4%).

The volume of the cell each time it is played is chosen within the range 30 to 100 in steps of 10.

Similarly the stereo position of the cell each time it is played is chosen within the range -100 (left) to 100 (right) in steps of 10.

The length of the silence is either 0.17, 0.34, 0.68 or 1.36 seconds (the length of a quaver, a crotchet,
a minim and a semibreve at 176 bpm (the tempo of the original piece)).

MusicMachine 4 Simon Belshaw 2012

If you have enjoyed this Music Machine the please consider making a donation of 49p (0.49)

home    downloads 1    downloads 2    background    simon belshaw   donate   contact

Simon Belshaw 2012

The Music Machine software is intended for private use only. It is not to be used in public or for commercial use without permission