I noted some time ago VU meters only registers values upto about 10 [version 1.4 -> 1.5, Oct 2013].
From SRCS.
https://github.com/MediaPortal/Medi...rtal/Core/MusicPlayer/BASS/BassAudioEngine.cs
----
public void RMS(out double dbLevelL, out double dbLevelR)
snip....
level = BassMix.BASS_Mixer_ChannelGetLevel(stream.BassStream);
}
}
if (Config.MusicPlayer != AudioPlayer.Asio) // For Asio, we already got the peaklevel above
{
peakL = Un4seen.Bass.Utils.LowWord32(level); // the left level
peakR = Un4seen.Bass.Utils.HighWord32(level); // the right level
dbLeft = Un4seen.Bass.Utils.LevelToDB(peakL, 65535);
dbRight = Un4seen.Bass.Utils.LevelToDB(peakR, 65535);
}
dbLevelL = dbLeft;
dbLevelR = dbRight;
}
---
Given that :Un4seen.Bass.Utils.[Low|High]Word32 return max value of 32768 <http://www.bass.radio42.com/help/html/93156b76-c9f3-f754-4474-c9cac4d29721.htm>
and Un4seen.Bass.Utils.LevelToDB <http://www.bass.radio42.com/help/html/b6c55d8c-5a05-3c4c-30b2-18ae4eb45c96.htm> states a Max value of 32768 for stream source [not 65535].
If I'm reading this correctly, the dB value returned would be based around source value of effectively 1/2 it's true value and as Vout -> dB is none linear function, it would seem to fit the observed behaviour.
Allowing for the fact I'm no C# coder by any means, so I may be missing something blindingly obvious
in code or in Un4seen documentation.
TTFN - JCMP.
From SRCS.
https://github.com/MediaPortal/Medi...rtal/Core/MusicPlayer/BASS/BassAudioEngine.cs
----
public void RMS(out double dbLevelL, out double dbLevelR)
snip....
level = BassMix.BASS_Mixer_ChannelGetLevel(stream.BassStream);
}
}
if (Config.MusicPlayer != AudioPlayer.Asio) // For Asio, we already got the peaklevel above
{
peakL = Un4seen.Bass.Utils.LowWord32(level); // the left level
peakR = Un4seen.Bass.Utils.HighWord32(level); // the right level
dbLeft = Un4seen.Bass.Utils.LevelToDB(peakL, 65535);
dbRight = Un4seen.Bass.Utils.LevelToDB(peakR, 65535);
}
dbLevelL = dbLeft;
dbLevelR = dbRight;
}
---
Given that :Un4seen.Bass.Utils.[Low|High]Word32 return max value of 32768 <http://www.bass.radio42.com/help/html/93156b76-c9f3-f754-4474-c9cac4d29721.htm>
and Un4seen.Bass.Utils.LevelToDB <http://www.bass.radio42.com/help/html/b6c55d8c-5a05-3c4c-30b2-18ae4eb45c96.htm> states a Max value of 32768 for stream source [not 65535].
If I'm reading this correctly, the dB value returned would be based around source value of effectively 1/2 it's true value and as Vout -> dB is none linear function, it would seem to fit the observed behaviour.
Allowing for the fact I'm no C# coder by any means, so I may be missing something blindingly obvious
TTFN - JCMP.