管理大量的音乐 [英] Managing a large collection of music

查看:166
本文介绍了管理大量的音乐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想写我自己的音乐流媒体网络应用程序供我个人使用,但我正在绞尽脑汁想如何管理它。现有的音乐和它们的位置很少改变,但仍然能够(修复文件名,ID3标签,/化学兄弟而不是/化学兄弟)。社区如何管理所有这些文件?我可以通过一个ID3阅读器和我的文件系统收集很多信息,但是跟踪播放频率等也是很好的。将使用iTunes的.xml文件是一个不错的选择?只要保持我的音乐在iTunes中,并基于我的Web应用程序的数据呢?我想通过md5'ing文件跟踪所有的音乐,并使用它作为唯一的标识符,但如果我更改ID3标签将改变md5的价值?

<我想我真正的问题是,你怎么能跟踪大量的音乐?将元信息保存在数据库中?只是我将如何连接文件和数据库条目是我真正的问题,或只是在需要文件系统设置时使用读取。

错过了你的问题的第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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆