🧪 Ai Advanced Ai Composer Simulation
Watch an AI compose music live: a Markov chain samples the next scale degree from a learned transition-probability matrix, plays it through a synthesized voice, and animates the choice on a 3D pitch lattice — with adjustable style, temperature and tempo.
This simulation demonstrates a concrete AI algorithm for music composition: a first-order Markov chain sampling scale degrees from a learned transition-probability matrix. Pick a compositional style to change which matrix drives the chain, adjust temperature to make the AI's choices sharper or more exploratory, and set the tempo to hear the resulting melody synthesized live in the browser. A 3D pitch lattice shows every reachable next note as a probability-weighted arc fanning out from the current note, with a glowing marker tracing exactly which path the algorithm samples at every step, alongside live readouts of notes generated and the Shannon entropy of the current choice.
This simulation investigates the use of artificial intelligence in music composition. It demonstrates how AI algorithms can generate musical pieces based on specified genres, harmonies, and rhythms.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install