Perpetual Breakdown is a procedurally generated metal song created by Max Strater and Kyle Paulsen. It is based on scheduled sample playback and is written in the key of C minor at 180 bpm. Click the play button at the bottom of the page at any time to start listening.
The song structure is composed of different sections: . Each section is detailed below and each section name will be marked with an icon while it is playing. You can also automatically scroll to the currently playing section using the checkbox next to the play button.
The first section played is always and then which section is played next is decided using a Markov chain. All this really means is that each section has some specific probability to transition to each other section. You can visualize all the different probabilities using a stochastic matrix (also known as a transition matrix or a Markov matrix). The stochastic matrix for the song's sections is shown below. For example, the probability to transition from to is . However, if you want to override the section order, each section has a button next to its name below that will force it to be the next played section.
This section is composed of a semi-random rhythm played on guitar, bass, and drums. The rhythm is made up of smaller component patterns sequenced one after another such that they maintain a strong downbeat every 8 beats. The components used are the following:
You can see the rhythm notated in real time as the samples are scheduled here:
This section is essentially the same as the Breakdown section, but with a few extra embellishments added to the samples. There are very dissonant minor second guitar stabs and high pitched guitar squeals added to the available sounds. The drums also ride the open hi-hat instead of crash symbols. The components used are the following:
You can see the rhythm notated in real time as the samples are scheduled here:
This section is created by randomly generating a 16 note line of first species counterpoint. This means creating two complementary melodies which are then played with tremolo picking on dual guitars. The bass follows the lower melody and the drums play varied blast beats and double bass drum beats. Please note that the rules for creating counterpoint can vary somewhat and the following is just one method. First, a simple melody called a cantus firmus is generated according to the following rules:
Once the cantus firmus is finished, a higher pitched 16 note melody line is generated to harmonize note for note against the cantus firmus. This second melody must follow these rules:
Below is the counterpoint that has been generated this time. When this section is playing the current note will be highlighted below in red.
Once the 16 note counterpoint line is generated for the Counterpoint section, it is reinterpreted as a short sequence of chromatic hits played on guitar and bass to make this transitional bridge section.
For each melodic interval in the counterpoint's cantus firmus, a scale step is replaced with a chromatic step (a half step). For example, a melodic jump of a fifth (four scale steps) becomes a melodic jump of a major third (four half steps). This gives us a chromatic analog of the cantus firmus. Then the harmonic intervals between the two original counterpoint melody lines are adjusted to create the higher melody line for this chromatic section. A harmonic interval of a third (major or minor) becomes a minor third, a fifth stays a fifth, an octave stays an octave, and a tenth (major or minor) becomes a minor tenth. This whole process leaves us with two chromatic melody lines that are reminiscent of the original counterpoint melodies.
When this section is playing the current note will be highlighted below in red.