INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Where to start creating a plug-in? Album Analysis  (Read 4528 times)

kiwi

  • Citizen of the Universe
  • *****
  • Posts: 817
  • Don't worry, be happy...
Where to start creating a plug-in? Album Analysis
« on: October 06, 2003, 04:56:02 am »

I am very interested in performating album by album normalization.  If I perform audio analysis on every file, and then play back the music, all the tracks are more or less normalized to the same volume level.  That's all well and good for pop music, or listening to randomized tracks, however, if you are listening to classical music, and randomizing by album, it causes a bit of weirdness, causing quieter tracks to have their volumes' raised w/ respect to the other track's in the album.

As I see it, the audio analysis is alread performed for you by MC.  All I need to do is take the gain value for the track that is normalized the least and apply it to all the other fields.  

I don't know the best way to manage this, however, it would seem that a plug-in could easily be written to read in tracks, find the min replay gain and set all other tracks in the album accordingly.  

Does anyone have any suggestions on where to start?

I assume that downloading the SDKs is a good place to start, but figured I'd see whether anyone had any pointers.

Thanks,
kiwi
Logged

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
Re: Where to start creating a plug-in? Album Analy
« Reply #1 on: October 07, 2003, 12:40:42 pm »

Wouldn't it be easier to just turn Replay Gain off?

Because even if you did as you plan, when you tried to listen to any of those files with other files not in the same album, then replay gain won't work correctly.

The best solution to this problem is for MC to actually calculate an Album Gain value and use that when playing back full albums.
Logged

kiwi

  • Citizen of the Universe
  • *****
  • Posts: 817
  • Don't worry, be happy...
Re: Where to start creating a plug-in? Album Analy
« Reply #2 on: October 08, 2003, 07:00:44 am »

Well, it would be easier to just turn replay gain off.  

Quote
Because even if you did as you plan, when you tried to listen to any of those files with other files not in the same album, then replay gain won't work correctly.


I think that it would still be beneficial to have replay gain that was adjusted by album, even if you were playing random tracks.

I guess that I feel that songs the artist wanted to have be soft/quiet should be soft/quiet while songs that are supposed to be loud should be loud.  By setting on value for each album you would accomplish this.  

In theory, with replay gain done this way, the loudest songs on every album would be normalized so that they played back at the same levels, and all other songs would play back at their appropriate level relative to your playback volume.

Quote
The best solution to this problem is for MC to actually calculate an Album Gain value and use that when playing back full albums.


Agreed.  Or to to use a calculated field for it.  They just need to take the value of the loudest track and apply it to the entire album.  Maybe having replay gain have a selectable input, i.e. by album or by track.

If I were to write a plug-in, I'd have it set the album gain for every track.  It would also copy the track gain to a second field. Then it would have an option for switching these values in the tags.

kiwi
Logged
Pages: [1]   Go Up