https://ldjam.com/events/ludum-dare/51/cubical-mayhem
With Comment on the music of our game ranging from annoying to perfect, i felt the need to explain a little bit how we created it.
Rather than the standard music creation workflow, where you assemble samples from different instruments, we went with the generative music path. What is generative music you ask ? i'd say it's genre of music where you define rules to create your sounds. It may or not rely on randomness.
In Cubical Mayhem we used the software Voltage Modular which allows you to create blocks and chain them to generate sounds. Some block are oscillators and output sound, some generate trigger, some allow you to modulate the effect of something, etc.
So, here's our setup:

It looks like a giant spaghetti mess, but it remains rather simple, i'll create groups to see more clearly:

Everything starts at (1): the sequencer, here we generate a ... sequence ... of triggers, we used these triggers to generate a new random pitch (2). Based on this pitch, we create two other pitch 3 and 7 notes higher (5). Those pitch are then used in two oscillators. We now have sound !!
It would be rather annoying because the sound would always play at the same volume. To fix this, we add an amplifier and an envellope generator (7). The enveloppe generator generate a signal when receiving a trigger, this signal goes from 0 to 1 with a delay, stay there as long as you hold the note and decay back to 0 after that again with some dalay. By controlling the delays, you control how the volume behave each time you send the trigger. The amplifier simply multiplies the sound volume by the signal from the envellope generator.
We then add some effects, reverberation and sound phaser (8) plus percussions (9) triggered by the sequencer and voila!
We also added a variation were the pitch used by the oscillators switch (4) between the random pitch generator (2) and a fixed sequence of pitch (3) based on a timer.
All was left to do was to record some of it, try to make it loop somewhat seamlessly and put it in the game!
I hope this was somewhat interresting and gave you a preview of what you can do.
I almost forgot: come play our game :)
