管理大量的音乐 [英] Managing a large collection of music
问题描述
<我想我真正的问题是,你怎么能跟踪大量的音乐?将元信息保存在数据库中?只是我将如何连接文件和数据库条目是我真正的问题,或只是在需要文件系统设置时使用读取。
错过了你的问题的第2部分(MD5的东西)。我不认为MD5 / SHA / ...解决方案可以很好地工作,因为他们不允许你在你的收藏中找到双打(就像在许多不同的采样器上出现的流行曲目)。特别是对于大集合,这是你有一天会想要做的事。
有一种叫做声学指纹识别,显示了很多的承诺,看看这里快速介绍。即使录音水平有微小差别(比如那些流行的标准化音轨),声音指纹也应该保持不变 - 我应该这样做,因为我测试的技术都不是100%无误。这些声学指纹的另一个优点是它们可以帮助您进行标记:像FreeDB这样的服务只能在完整的CD上工作,声音指纹可以识别单个曲目。
I'd like to write my own music streaming web application for my personal use but I'm racking my brain on how to manage it. Existing music and their location's rarely change but are still capable of (fixing filename, ID3 tags, /The Chemical Brothers instead of /Chemical Brothers). How would the community manage all of these files? I can gather a lot of information through just an ID3 reader and my file system but it would also be nice to keep track of how often played and such. Would using iTunes's .xml file be a good choice? Just keeping my music current in iTunes and basing my web applications data off of it? I was thinking of keeping track of all my music by md5'ing the file and using that as the unique identifier but if I change the ID3 tags will that change the md5 value?
I suppose my real question is, how can you keep track of large amounts of music? Keep the meta info in a database? Just how I would connect the file and db entry is my real question or just use a read when need filesystem setup.
I missed part 2 of your question (the md5 thing). I don't think an MD5/SHA/... solution will work well because they don't allow you to find doubles in your collection (like popular tracks that appear on many different samplers). And especially with big collections, that's something you will want to do someday.
There's a technique called acoustic fingerprinting that shows a lot of promise, have a look here for a quick intro. Even if there are minor differences in recording levels (like those popular "normalized" tracks), the acoustic fingerprint should remain the same - I say should, because none of the techniques I tested is really 100% errorfree. Another advantage of these acoustic fingerprints is that they can help you with tagging: a service like FreeDB will only work on complete CD's, acoustic fingerprints can identify single tracks.
这篇关于管理大量的音乐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!