Generate short video game music, automatically, endlessly. It is powered by machine learning with Magenta.js

Source code and demo page are available at

If you want to use the generated music in your game, consider using this tool as well:


Press the 'Generate' button. (For the first time, please wait until the initialization of the model for generation is finished.) It will generate countless pieces of music.



Generate new music based on the music on the left of the screen. The generated music will be displayed on the right of the screen.


Copy the generated music and use it as the basis for the next music to be generated.

[Temperature][Repeat Count]

The larger the number, the more random the music will be generated.

[Correcting for dissonance]

Correct dissonance to consonance.

[Select music]

Select the music that will be the source of the generation.


Load the data for the music in the 'state' text box. The 'state' text represents the current music information. Paste this text into the 'state' text box and press the 'load' button to load the music.


Play/Stop music. Music is described in MML (Music Macro Language)

Rated 5.0 out of 5 stars
AuthorABA Games
TagsMusic Production, Procedural Generation, Retro


Log in with to leave a comment.

(2 edits)

This program churns out catchy riffs. I don't know if I'm seeing all the program's buttons in Vivaldi, but I was able to quickly make a tune with this program. I only had to write the bass and drum parts. 






Very cool and interesting tool. i think part of the UI is cut off in my browser, even when i zoom in or out. the lowest thing i can see is the Repeat Count, which only shows up to 3.