Re: Overall sound level
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Mon, 12 May 2008 23:19:08 GMT
On Sat, 10 May 2008 11:56:00 -0700, RobertDraw
<RobertDraw@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Thank You for responding to my question
I am building a program that does A/V scheduling and allows for filler
between the main Schedules Media (Audio or Visual). I am trying to keep it so
it plays the main content on the half hour and the filler material is just
that it fills up to that point sort of like TV and it's commercials, instead
I use music videos... So I don't make a Playlist of any sort for the
sub-program I am using for presentation, this sub program could be any of the
players out on the market like Media Player Classic or the BS Player or
WinAmp or even the least desired of the bunch W(i)MP... So I want to keep a
monitor in my little scheduler that keeps the sound level the same between
the Media's content,,, does ANY of that make sense? You asked...
OK but I'm not sure programatically how you'd apply those levels
without them being pre-generated, which is what media player does.
Now my new question is this; what and where and how is a VU Meter and
how could I pull this Average Sound Level info out of the media stream or off
the file itself's metadata since you brought it up...
It's a file attribute WM/WMADRCAverageTarget, if present :
http://msdn.microsoft.com/en-us/library/aa392177(VS.85).aspx
The docs imply it's present in WMA9 and WMA9Pro content, and later -
however WMP can also do this for MP3 content, so I imagine there's an
equivalent ID3v2 tag for this.
You can query for specific WM attribute names on media content using
player.currentMedia.getItemInfo('WM/WMADRCAverageTarget');
That's documented here :
http://msdn.microsoft.com/en-us/library/bb262734(VS.85).aspx
HTH
Cheers - Neil
HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
.
- References:
- Overall sound level
- From: RobertDraw
- Re: Overall sound level
- From: Neil Smith [MVP Digital Media]
- Re: Overall sound level
- From: RobertDraw
- Overall sound level
- Prev by Date: Re: Can't Download Album info
- Next by Date: error message "The operating system cannot run %1" in Media Player
- Previous by thread: Re: Overall sound level
- Next by thread: IE6 or IE7 WMP error
- Index(es):
Relevant Pages
|