Scripting Music
Friday, October 09, 2009 Labels: Computers and Society, Music 1 commentsLabour of Love is a Waste of Time
I am fond of Hindi film songs of 1950 to 1970's. I have been collecting Mp3 songs of this period, for last 9 years. The collection has now grown to 7,000 songs.
(A photo taken by me: "Seven Thousand Noses""- Like my Music Collection)
Many like minded friends have shared their archives with me. Because of diverse sources, the songs were not having consistent or uniform "Tagging". It was a daunting task to clean tags of 7,000 songs. I have now completed that. Let me share with you the pains and pleasures of this labour of love.
MP3 is a compression protocol for crunching up a song file so that it takes up a smaller space on the computer with a minor loss of fidelity. In addition it carries lots of information embedded in it about the song. This information could be: Title; Artist; Album; Composer; Year; Lyricist; Genre; Album art; Lyrics; etc. This information is stored in "Tags” at the beginning of the song file. Music Programs like Windows Media Player use these tags and build up a database of your Library of song files.
Since I got my songs from diverse sources, the tagging information was not consistent. Moreover there is mo standard tag to put name of the film of the song. I put it in Album. The songs I had, the titles were erratically crammed with film name, artist, Composer, year with all sorts of brackets/ dashes/ underscores/ equal signs etc.
One way was to edit each song by song for all the 7,000 songs - obviously an impossible task – but still a must for a few songs. I therefore used program scripts. Although I am no longer that ace a programmer I once was, yet I still retain the unerring nose for debugging a program - it’s almost instinctive. I can also fill in the gaps in my knowledge of new current programming languages by intelligent guesswork based on my past knowledge.
One interesting script was to transfer film name written in brackets in the Title to Album tag without the brackets and delete it from the Title.
Other was a script for Titles having film name and title separated by dash or equal sign.
One was for removing song numbers from the Titles.
And many others similar oddities.
I use "Media Monkey" software for managing my music collection and "The Godfather" (TGF)software for batch conversion of tags.
Finally I used Media Monkey to clean up multiple entries of same film names or same artist names due to different spellings or different capitalisation.
Now I am ready to weed out duplicate files of same song by using the "Find Duplicates"facilitiy of TGF software. I finds out duplicate even if there is mis-spelling etc.
I was at it hammer and tongs many hours each day for last one month – to the utter depression of my better half. You can well imagine the efforts I had make to keep her in good humour by other means.
Read full post >>
(A photo taken by me: "Seven Thousand Noses""- Like my Music Collection)
Many like minded friends have shared their archives with me. Because of diverse sources, the songs were not having consistent or uniform "Tagging". It was a daunting task to clean tags of 7,000 songs. I have now completed that. Let me share with you the pains and pleasures of this labour of love.
MP3 is a compression protocol for crunching up a song file so that it takes up a smaller space on the computer with a minor loss of fidelity. In addition it carries lots of information embedded in it about the song. This information could be: Title; Artist; Album; Composer; Year; Lyricist; Genre; Album art; Lyrics; etc. This information is stored in "Tags” at the beginning of the song file. Music Programs like Windows Media Player use these tags and build up a database of your Library of song files.
Since I got my songs from diverse sources, the tagging information was not consistent. Moreover there is mo standard tag to put name of the film of the song. I put it in Album. The songs I had, the titles were erratically crammed with film name, artist, Composer, year with all sorts of brackets/ dashes/ underscores/ equal signs etc.
One way was to edit each song by song for all the 7,000 songs - obviously an impossible task – but still a must for a few songs. I therefore used program scripts. Although I am no longer that ace a programmer I once was, yet I still retain the unerring nose for debugging a program - it’s almost instinctive. I can also fill in the gaps in my knowledge of new current programming languages by intelligent guesswork based on my past knowledge.
One interesting script was to transfer film name written in brackets in the Title to Album tag without the brackets and delete it from the Title.
Other was a script for Titles having film name and title separated by dash or equal sign.
One was for removing song numbers from the Titles.
And many others similar oddities.
I use "Media Monkey" software for managing my music collection and "The Godfather" (TGF)software for batch conversion of tags.
Finally I used Media Monkey to clean up multiple entries of same film names or same artist names due to different spellings or different capitalisation.
Now I am ready to weed out duplicate files of same song by using the "Find Duplicates"facilitiy of TGF software. I finds out duplicate even if there is mis-spelling etc.
I was at it hammer and tongs many hours each day for last one month – to the utter depression of my better half. You can well imagine the efforts I had make to keep her in good humour by other means.