Just to elaborate: this is called dynamic range compression ... not to be confused with audio data compression.
The former is what makes the MP3's in the first place -- but the latter actually limits the output audio and prevents it from "being too loud."
This can be done in Perl, i am quite sure ... but the problem is how does one attach a "virtual filter" to the output of the program playing their MP3 files? This is why so many people just solve the problem with hardware instead.
UPDATE: drats -- I had it right the first time, sasdrtx. :) I used to be a janitor but I don't do that no more. Someone else can fix it. ;)
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
I'm very appreciative of the reply, but I guess I didn't say clearly what I want to program...
Let us say that you buy an audio CD and you want to listen to your favorite song. You look at the track listings and see that it's divided into TWO tracks, #1 and #2! The division is at a logical point, yes, but at a point where there is plenty of sound activity.
If you tell your player to play just #1, the song will end suddenly. I want to avoid exactly that! Thus if i have a track whose last frames are not silence, I want to flag it to avoid playing that track by itself. So, how can I use a perl module to seek to the end of the MP3 track and check the volume level?
Thank you so much. Please don't make me have to ask the C-Monk(ey)s
Regards,
ADUMAS | [reply] [Watch: Dir/Any] |
Multimedia (26494)
Sound/Audio (8921)
o Analysis (567)
| [reply] [Watch: Dir/Any] [d/l] |
I think your suggestion is a good one, as it is, after all, a very audio-mp3-centric issue.
Thanks!
| [reply] [Watch: Dir/Any] |
cat 1-05 Another_Brick_In_The_Wall >> 1-04_Happiest_Days_Of_Our_Lives
Is one that works. Remember, some songs merge directly into the next song even though they are completely unrelated. These days I only deal with lossless files and appropriately merge them first before making my MP3 collection.
I do think your idea is a good one however -- but how will it work for iTunes or XMMS users?
| [reply] [Watch: Dir/Any] [d/l] [select] |