🎵 AI Music Generator

Generate new classical-style piano music in your browser. Pick the settings, press Generate, then Play.

Press Generate to start.
How it works. The generator learns note-to-note transitions from the 5 public-domain MIDI pieces in this project (Bach, Beethoven, Chopin, Mozart, Pachelbel) and samples new music with temperature-scaled probabilities: low temperature = safe and repetitive, high temperature = adventurous. This web version is a lightweight in-browser model so it runs instantly for everyone; the full stacked-LSTM training pipeline is in the Colab notebook.