A Generative Music Game using Three.js and the Web Audio API
How To Play
In Tonewarp, the goal is to create unique musical compositions by collecting objects with your ship. There are three main object types:
Note Objects (blue): These add musical notes to the song as you collide with them
Chord Objects (orange): These add chords to the song as you collide with them
Tonewarp Objects: These occur only in the last 2 bars of a zone and will change the overall sound of the song
The game is broken up into zones—each zone consists of ten bars of music. As you progress through the game, you will be able to change certain characteristics of the music by collecting Tonewarp objects.
To control the movement of the ship, use the arrow keys on your keyboard. Up and Down keys control the height of the ship. Left and Right keys control the lane.
Press 'Play The Game' to begin. To view additional options click 'Show Options'.
Play The Game
Show Options
Game Options
Sequencer
This section allows you to choose parameters relating to the musical phrases generated. You can change which composition acts as the 'inspiration' for the game's music, by choosing a different piece from the 'Source File' list: New sequences will be generated from the chosen source file using Markov chains. To change the starting drum pattern, select a different 'Rhythm Type'.
Synthesiser
To try out the synth sound, press 'Play Single Note'. Adjust the Pitch slider and Note Duration value to hear different pitches and note lengths.