from Hacker News

Show HN: Musical Graphs - Visualizing MIDI with Python and Graphviz

by admtal on 11/20/23, 6:29 PM with 1 comments

I want to share some python code I wrote:

It’s a script that turns a MIDI file into an animated video.

The song is broken down into notes, and the paths between them are animated on a graph in time with the music.

There are some examples linked in the repo, I’m posting the vids on TikTok.

I had a lot of fun working on this, and if anyone has any feedback or ideas, or can suggest resources I’d appreciate it.

For next steps, I’d love to be able to add more sophisticated animations, and even add 3D elements.

  • by Rochus on 11/21/23, 12:07 AM

    Looks nice, but what's the purpose? Should it help to understand music?