Music Metrics

From TheAlmightyGuru
Jump to: navigation, search

Music Metrics is a computer program I wrote to better quantify my music appreciation. The program requires you to first assign a "RATING" metatag to each song in your library and then assign a 1-10 rating. Then, the music file metadata is exported from foobar2000 by m-TAGS into a text file. This file is parsed out and various forms of sorting can be made.

The primary sorting system uses a weighted-rank which uses the exponential formula 2^(rating-1), which yields the following scores.

Stars Points
1 1
2 2
3 4
4 8
5 16
6 32
7 64
8 128
9 256
10 512

By using an exponential scale for a song's rank rather than a linear scale, I give a more accurate level of appreciation. For example, ten songs with 1 star are not as good as 1 song with ten stars, but in my scale, you would need 512 songs with 1 star to equal 1 song with ten stars.

In addition to artist, you can also sort your music library by favorite composer, genre, and theme (assuming you have these tags populated). I also allow grouping on albums, years, and months. When a song has multiple artists, composers, etc., I use a semicolon as a delimiter and parse them out individually to assign proper weight.