RBM Music Demo Site

This page presents piano pieces automatically composed using a Restricted Boltzmann Machine (RBM). You can view the piano-roll images and listen to the audio below.

Generated Musics

The following is a piece generated by an RBM that was trained on J. S. Bach’s works represented as piano roll images.

In the case of generating two measures.

In the case of generating eight measures.

Chord Progression

The following is an example of chord progressions generated by the RBM. While each individual chord is not particularly unnatural, the sequence of chords still appears awkward, suggesting that the model has not acquired an understanding of chord progression.

Method

For details of the composition method, please refer to the following paper:

M. Kobayashi and H. Watanabe,
Learning and composing of classical music using restricted Boltzmann machines,
arXiv:2509.04899 (preprint).

License

The data published on this site (audio and piano-roll images) are licensed under
CC BY.