3 ms·
I did a university project in Clojure that fed Final Fantasy midi tracks into a Markov chain. https://github.com/IsaacLewis/MidiMarkov https://github.com/Isaac
by IsaacL 14y ago
I did a university project in Clojure that fed Final Fantasy midi tracks into a Markov chain.
https://github.com/IsaacLewis/MidiMarkov https://github.com/IsaacLewis/MidiMarkov
The crystal theme worked the best (it's basically some scales on the piano that go up and down).
With a first order Markov chain, the output was a random walk of notes going higher and lower. With a second order chain, the notes went up and down fairly steadily, but with scales peaking at odd points. With a third-order chain, you get close to the original song out.
(It's hard to explain in text, without knowing the correct music vocabulary, but I hope you get the idea).