A jazz generator, pre-machine learning. It had instruments and each instrument had Markov Chains to control pitch and note duration. I then used a bunch of helpers and functions to write markov chains that sounded cool. I used it to play bass and jam with me. This was 2009.
The implementation was in netlogo I don’t remember why. It was really fun