NEUROJAM

Neurojam is a bot for Troop that takes my drum patterns and turns them into a masterpiece using a machine learning model from the Magenta project.

In this setup the bot connects to a Troop server and waits for a particular line such as sprucey -l 8 -r 1.7 @xx..x where -l is length of returned pattern, -r is randomness and string after @ is a drum pattern. It grab this pattern and pipe it to a pre-trained model that try to extend this pattern and send it back.