Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Testing for quality of audio in MP3's

by Corion (Patriarch)
on Aug 26, 2002 at 16:49 UTC ( [id://192944]=note: print w/replies, xml ) Need Help??


in reply to Testing for quality of audio in MP3's

As most of the quality degradation is most likely done by a program as well, you could bring up your hex editor and try to recognize patterns, either in the encoded mp3 file or in the decoded PCM stream. For example, there are click-removal algorithms - those include click-detection, and if a file has too many clicks, it's most likely damaged.

But there are certain limits to those detection mechanisms, as simply using a too-low bitrate will degrade the quality of a record to an unacceptable level. Simply decoding the mp3 and then deciding whether the decoded result has acceptable quality is very hard, if you consider different kinds of synthesizer tracks - there are some very clean synthesizer sounds, but there are also filtered and voluntarily distorted sounds - your algorithm would have to determine whether that distortion was intrinsic to the original record or came to be through malintent manipulation - an impossible task.

So I guess it's simply easier to just record all your CDs instead of downloading them from the internet...

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://192944]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found