Volume level analyze (ReplayGain) method?

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

DigitalBoy
Posts: 13
Joined: Thu Aug 10, 2006 7:28 pm

Volume level analyze (ReplayGain) method?

Post by DigitalBoy »

Hi, new to MM but not to VBS. Any ideas how I find the method to analyze a track for volume leveling?

TIA!
db
paulmt
Posts: 1170
Joined: Tue Jul 18, 2006 6:06 pm

Post by paulmt »

Not an expert, but I think this is available via the tools menu in MM
DigitalBoy
Posts: 13
Joined: Thu Aug 10, 2006 7:28 pm

Post by DigitalBoy »

thx, but do you know the method to call in VB to analyze a track? In other words, I don't want to have to click the menus with the mouse, rather execute it via code.

db
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

As far as I know the only way is with 'SendKeys', which is not a very elegant solution.

For now I use a little script that add a node 'Unknown Volume' in the Files to Edit Node.

At least makes it easier to find them. Link in signature here.
Image
DigitalBoy
Posts: 13
Joined: Thu Aug 10, 2006 7:28 pm

Post by DigitalBoy »

aha - I thought I was going crazy, couldn't find it at all. So not all the functionality is exposed? That seems a little strange. So all the methods called via the built in menus cannot be accessed via VBS. It kinda makes customizing a challenge. It looks like all the actual song data is exposed, so you can actually modify tags (like leveling), but in this case, you can't determine what the leveling value should be??

db
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

The MM Team is very generous with adding stuff as they they are requested, so hopefully your voice is echoing into the places where things can change.

The field Songs.NormalizeTrack holds the Leveling Value in the DB, and it's value is -999999 when it's not yet Volume Analyzed.

There'a a way to read the Tags too to see what Replay Gain value they got. I believe

But that Metod of actually Analyzing the track is in the Menu only at this point. Would be great if all the menu stuff were available in scripting too.

There's a link to 'Download Help File' on this page http://www.mediamonkey.com/developers.htm that gives a little guide in what's available at the moment.
Image
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

By the way, would you be familiar with how you communicate with .dll files. I believe there's a way to do that, as there's some .dll files in the MediaMonkey Program Directory that looks interesting, like Gain, Equalizer etc.
Image
DigitalBoy
Posts: 13
Joined: Thu Aug 10, 2006 7:28 pm

Post by DigitalBoy »

thanks for the quick replies. Found the peak value/max sample and leveling/normalize fields in the DB and via properties, so get/let is fine for the properties, just trying to find the methods. The dlls sound interesting, I'll take a look there. Ultimately it'd be nice to expose all functionality via the library. Otherwise sendkeys it is.

thanks again
db
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

I just tried that SendKeys thingy myself, and the Unknown Volume Node thingy now do have a sample of that.

Would be cool to do it other places too. (more than once I have scared the birds away here when a track that I've forgotten to analyze starts playing)
Image
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

Actually, sample is all it is, I just found that by vary the number of visible Docked Panels, it stuff it up with that {TAB} key.

Hope you find a way....

Added: Seems like "(+{TAB})" is more reliable to get the tracks.

Added: Seems like {TAB} is not needed, as (^a) do the right thing anyways.
Image
Post Reply