I wrote a computer program to generate piano music on the command line. The generation is done with a simple algorithm to create patterns in MIDI format, which is then imported into my DAW to process the data and turn it into music. There is no AI or Machine Learning in this algorithm - the music is programmatically generated and this video covers the algorithm that I created in detail.

I Made a Computer Program to Generate Piano Music

5 HOURS of ALGORITHMICALLY GENERATED Piano Music

The source code can be found on GitHub: https://github.com/bahamas10/music-generator