Convert song volume to album volume

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Convert song volume to album volume

by Teknojnky » Tue Dec 19, 2006 3:11 pm

You can right click the player and enable/disable 'level playback volume'.

by Guest » Tue Dec 19, 2006 1:59 pm

I think this question is about to place me in the running for idiot of the year award, but here goes anyway:

I've been reading through these volume threads and I'm getting confused. I want to do the following and want to know if there's a simple way.

1. Playing a randomized list of tracks in a playlist and I want them to all be the same volume (without altering the actual quality, so analyzed not leveled). Regardless if the song is supposed to be quiet or not.

but then:

2. I want to listen to a full album and I want it to sound like the original. Quiet tracks lower than the louder tracks.

Is there an easy way to switch between the two styles? Thanks to anybody who answers this question without sniggering.

by Volition » Thu Jul 27, 2006 12:13 am

yep i've finished it. I added another button, so you can choose either way. Though i am worried that, if you run say the album volume by length by level. Then just by lowest level. At the moment the averaged figure will write into custom1, as a backup therefore destroying the true backup.

Anyway i know to do a restore of the original figures before running either one. unless of course the custom 1 field is blank.

Though i think people can work this out. That's if i make any sense.

I'll post it when i get home from work, if anyone wants a copy.

by Volition » Wed Jul 26, 2006 9:16 pm

i was looking for a function which looks for the minmum.

I think it will be best to just use a

if...less...than

I think i've worked it out

Thanks for your help.

I'll start another thread on the album rating thing. I found last night that someone had already created a node which does the same thing.

by Big_Berny » Wed Jul 26, 2006 2:23 am

Volition wrote:What is the command within the first loop that will hold the minumum level

eg.

albumvolume.Item( albumid) = ??????? albumvolume.item (albumid)

Can someone help me fill in the question marks?

The rest of the script i have got sussed out.
Don't understand the question as English isn't my native language. What do you mean exactly?

The rating idea seems interesting. Although I wouldn't give the length such a big influence/weight. For example there are also songs with a very long last track which would have a big influence. For me the best way would be to only reduce the weight of short songs under 2 minutes for example.

Big_Berny

by Teknojnky » Wed Jul 26, 2006 2:04 am

Reducing the weighting of the shorter songs seems like a clever idea to avoid excessive lowering of an album average.

I have an autoplaylist which gives me short songs (under 1:30) with a rating of 2.5 or higher, of which I then rate most of them down to 2.0 so they get excluded out of scrobbler dj.

You may also want to consider whether or not very long songs (10+ minutes I guess) should be weighted more/less/same as a normal length song, too. I typically downrate long songs too.

Both of my examples I may change my behavior of in the future, when the new scrobbler dj is completed, I should be able to exclude excessively short and long tracks without having to downrate them to keep them out.

by Volition » Wed Jul 26, 2006 1:52 am

I've thought and thought about it. I actually partitioned of 4,7896,345 brain cells in the last couple of weeks, purely for the tasks of volume leveling.

I believe the most accurate way is to use the minimum figure of any one given track in a album.

I have looked at the script. And understand it.

Basically i can scrap the album length loops.
What is the command within the first loop that will hold the minumum level

eg.

albumvolume.Item( albumid) = ??????? albumvolume.item (albumid)

Can someone help me fill in the question marks?

The rest of the script i have got sussed out.


In a sideline, I looked at the script and worked out that Album ratings can be usefully calculated using this album length script.

I have changed the existing volume leveling script to calculate an album rating using the same basis of calculation.

e.g all tracks from same album use average rating for each song

Track01-5:00 minutes-5stars (awesome song)
Track02-0:30 minutes-1stars (One of those crap soundscapes)
Track03-3:00 minutes-3stars (pretty good Song)

Total Ratings=9stars
#songs=3
Total Ratings/#songs=3stars

However using a calculation based on song length.

Total Ratings=Song Rating * Song Length for each song
track01 5:00*5= 1500
track02 0:30*1= 30
track01 3:00*3= 540
Total ratings = 2070
Album Length=8:30 minutes(510seconds)
Total Ratings/Album Length= 4.01 Stars (script Rounds Of to half stars)

i believe the Second calculation is a more accurate representation of the album as a whole.

i have modified the script, will test it tonight then post if anyone interested.

regards

by Big_Berny » Mon Jul 17, 2006 5:11 am

MoDementia wrote:script gain = +7db???
Probably the intro is much shorter than track 1. That's why the gain of track1 has more influence on album-gain.

@onkel_enno:
War am Nuke-Festival in St. Pölten (Ö). War hammer! Manu Chao, The Kooks, Jan Delay, Adam Green, The Cat Empire (!!!), undundund. :)

Big_Berny

by onkel_enno » Mon Jul 17, 2006 1:03 am

Big_Berny wrote: But that's also with my script. All songs get the same gain so that the volume differences don't disappear. The only difference is the way the gain is calculated.
Ah, cool. Didn't thought so far?
Big_Berny wrote: Sorry was at a openair festival last week. :)
Which festival?

by MoDementia » Sun Jul 16, 2006 7:01 pm

Ah I see.
The gain is added to the already (original ripped) loud intro

MM @ 89% = 48db

original ripped intro = 50db
original track 1 = 40bd
MM gain intro = -2
MM gain track 1 = +8

script gain = +7db???

new intro = 57db
new track 1 = 47db

still a 10db difference

by Big_Berny » Sun Jul 16, 2006 6:46 pm

onkel_enno wrote:I still agree with Volition.
If an Intro on an Album is much louder than the Rest, then it has to be much louder than the Rest (the band will know why) and should still be louder on Album Level.
But that's also with my script. All songs get the same gain so that the volume differences don't disappear. The only difference is the way the gain is calculated.

Sorry was at a openair festival last week. :)
Big_Berny

by Volition » Mon Jul 10, 2006 4:53 am

I'll run your album gain and see what i think of the reults by listening. And see how i go. Thanks for the description.

by trixmoto » Mon Jul 10, 2006 3:23 am

Just for the record, I agree too. But if that's what you want, I am happy to help you achieve it! :)

(Thanks Big Berny for being so generous with your code.)

by onkel_enno » Mon Jul 10, 2006 12:24 am

I still agree with Volition.
If an Intro on an Album is much louder than the Rest, then it has to be much louder than the Rest (the band will know why) and should still be louder on Album Level.

by Big_Berny » Sat Jul 08, 2006 5:33 am

@trixmoto: You (and all others) can do with my scripts whatever you want! No problem for me! :D

@Volition: My script currently calculates the average gain. And the length is needed so a long song with +2db has more effect on the average than a sort one with -20db. In other words: The script handles the whole album as one piece, calculates it's average and adjusts the gain. AFAIK other gain-adjustment-tools like MP3Gain work the same way.

BTW a very loud intro could distort your results, couldn't it?

Big_Berny

Top