Cool. I love the demo where it's hooked up to a player piano.<p>After a quick glance at the source, it seems like what you do is build a simple Markov chain from the input snippet and then randomly sample it to produce the output snippet. Is that about right?
This project certainly involved some heavy lifting! Great to see Javascript show up in the MIDI-control arena inside a DAW (at last!!!). With generative and listening features, Jnana's sure to spark considerable interest. It'd be great if the JS integration opens up Live/MAX for other programmers. Salud!