Back to portfolio projects

Music Knowledge Graph

I built a SQLite knowledge graph for my DJ library. Tracks link to artists, genres, release years, and musical keys. Explore my music catalog and follow relationships to find tracks you might want to mix together. You can also compare suggestions of song pairings from four different algorithms.

Find your next mix

Discover pairs across the library, or start with one song and compare its best partners.

Balances compatible keys, nearby tempos, shared graph connections, and recording level.

Loading mix recommendations…

Loading the music catalog…

How the graph works

The pipeline combines rekordbox beat analysis, audio measurements, and MusicBrainz and Apple Music catalog matches. When I rebuild or enrich the local graph, my laptop queues the latest catalog for this portfolio.

The mix finder compares harmonic compatibility, weighted Jaccard similarity, Adamic–Adar shared connections, and a hybrid ranking. All four use compatible Camelot keys and a 6% tempo limit. The hybrid combines key, tempo, graph similarity, and recording level. These pairings indicate potential transitions and mash-ups.