@Lightning303 Yes i compiled the Version from git by myself but the changes from yesterday are not included. Will compile a new version this evening...thanks for the hint.
is wrong.. by the way not my Problem
LOL..Code:dbLeft = 20.0 * Math.Log10(fpeakL);
greets
is wrong.. by the way not my Problem
LOL..Code:dbLeft = 20.0 * Math.Log10(fpeakL);
greets
So what exactly is wrong? and how would it be right?
is wrong.. by the way not my Problem
LOL..Code:dbLeft = 20.0 * Math.Log10(fpeakL);
greets
So what exactly is wrong? and how would it be right?
Edit:
Ok die 20 wird benötigt um den DB Wert des Level zu berechnen..
Hab's aber nie gebraucht. (jeder wie er will)
Darf auch mal Mist schreiben. LOL
gruss.
i hope that help a Little..@Lightning303 Will have a look at your private message tomorrow , thanks for that!
Thanks,i hope that help a Little..@Lightning303 Will have a look at your private message tomorrow , thanks for that!
greets
Bitmap bassFan = new Bitmap(1000, 128);
Graphics bassFanGFX = Graphics.FromImage(bassFan);
int i = 0;
...
if (i < 1000)
{
bassFanGFX.FillRectangle(new SolidBrush(Color.Blue), i, (int)(dbLevel[0]+80), 1, 1);
bassFanGFX.FillRectangle(new SolidBrush(Color.Red), i, (int)(20 * Math.Log10(Lpeak)), 1, 1);
i++;
}
else
{
bassFan.Save("C:\\ProgramData\\Team MediaPortal\\MediaPortal\\vumetergraph.bmp");
}
That should be independant from your system, but @HomeY and i saw that webradio had pretty low values, mp3 avarage and flac very high levels. Of course this is just a generalisation, but thats what we saw. As is, our implementation does not represent a normal vu meter. Normally these things have logorithmic scales, and our is not logorithmic, nor is it linear for that matter. We tried some values and found these to be the nicest. But as you have compiled your version yourself, you can off course try values yourself and if you find something let us know.The only thing i noticed is that the vu meter is on top level most of the time. Maybe we need to adjust the settings a bit or is it just based on my system/ audio settings?
You can find the boundries for the 10 segments here:
https://github.com/ambilight-4-medi...FEATURE_Gif_Reader/AtmoLight.Core/Core.cs#L78
Example:
If the value is bigger than -2 than first segment (red) gets shown.
If value is bigger than -5 then second segment (still red) gets shown.
and so on.
Der Unterschied ist Log10
Hab dir doch einen Link gegeben wo du das nachvollziehen kannst warum das so ist.
Bei mir mit Log10! habe ich fast nur hohe Ausschläge und der Beat zur Musik ist nicht gerade das wahre.
Aber gut muss man testen ob es unterschiede auf verschiedenen Systemen gibt.
gruss
However i want to point out again that im very thankfull for your input. Just because i choose to not change the code does not mean that its not appreciated