Page 1 of 1
Spectrum data in MediaMonkey
Posted: Wed Feb 24, 2010 1:03 pm
by u2bleank
Hi MM,
I've just started a visualisation plugin though the winamp interface ( struct winampVisModule )
In this interface I got acces to the spectrum value of the currently played music that it's just fine
But there's 2 weird difference between the behaviour of the vis in MM and in Winamp.
1) In MM I must wait 13 seconds before the plug ins receive any spectrum data.
2) The spectrum datas seems to be cropped and doesn't use the full range of the unsigned char.
Here a picture who reflect the difference between Winamp and MM
It's the spectrum of the same song at nearly the same moment and the Winamp result is the upper window.
Is it the normal behaviour of MM and is there any workaround to better mimic the Winamp result ?
Cheers
Re: Spectrum data in MediaMonkey
Posted: Wed Feb 24, 2010 11:18 pm
by rovingcowboy
in making the built in player volume level meter's i make.
i've noticed that if you use the equalizer's pre amp the raising and lowering of the slider will affect the sound level as normal but it also adjust's the level of the volume meters highest range.
check that with your plug in and see if you can adjust it with that. if so then nothings wrong your script is following orders. its just the preamp on monkey's equalizer is set lower because monkey's a better player then winamp because it will just throw all the sound level out there. but it too uses a preamp so check and see if that also changes the level effect. it should but it only works like a volume slider on my winamp player here. monkeys seems to really boost the song file's volume not just the volume of the windows amp.
Re: Spectrum data in MediaMonkey
Posted: Thu Feb 25, 2010 4:21 am
by u2bleank
i've noticed that if you use the equalizer's pre amp the raising and lowering of the slider will affect the sound level as normal but it also adjust's the level of the volume meters highest range.
Unfortunatly modifications in the equalizer doesn't change anything in the spectrum visualisation...
Re: Spectrum data in MediaMonkey
Posted: Thu Feb 25, 2010 4:50 pm
by rovingcowboy
oh did not know if it worked on plugins or not but i thought to tell you since it works on the built in av effect.

Re: Spectrum data in MediaMonkey
Posted: Thu Feb 25, 2010 4:54 pm
by nohitter151
Maybe it is volume leveling, try to disable it under the "Play" menu.
Re: the 13 second wait -- I think that is due to buffers or something. You could try to switch to waveOut ouput plugin and change the buffer time.
Re: Spectrum data in MediaMonkey
Posted: Fri Feb 26, 2010 4:09 am
by u2bleank
nohitter151 : the volume leveling doesn't change anything the spectrum is always cropped at around 60% of the maximum.
For long 13s latency : you are right it's only few seconds with the waveOut output.
Re: Spectrum data in MediaMonkey
Posted: Fri Feb 26, 2010 2:39 pm
by rovingcowboy
maybe it is the prevent clipping option? is that able to be turned on and off in code for the plugins?

Re: Spectrum data in MediaMonkey
Posted: Tue Mar 02, 2010 11:19 am
by u2bleank
rovingcowboy wrote:maybe it is the prevent clipping option? is that able to be turned on and off in code for the plugins?

Nothing changed
I still got this strange clipped sectrum
Re: Spectrum data in MediaMonkey
Posted: Wed Mar 03, 2010 12:17 pm
by u2bleank
For information the only way I found to got the same spectrum between MediaMonkey & Winamp is to compte by hand the spectrum from the wave informations.
Now i Got the same consistent behavior between the 2 programs.
Greetings to all contributors.
Re: Spectrum data in MediaMonkey
Posted: Fri Mar 05, 2010 6:27 am
by jiri
Hi, I finally got to review the code and you are right, the spectrum was clipped half-way. It will be fixed in the next version.
As for the initial delay, it's there because of buffering, we'll try to improve this as well.
Jiri