home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
AtmoLight - 1.18.6.0 [2016-09-21]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lightning303" data-source="post: 1086302" data-attributes="member: 97876"><p>Which version did you test? From git? Well i guess so, i didnt upload a test version with vu meter in it if i recall correctly ;p. I did some major improvements to the gif reader yesterday and some small fixes today.</p><p></p><p></p><p></p><p>That should be independant from your system, but [USER=68365]@HomeY[/USER] 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.</p><p>You can find the boundries for the 10 segments here:</p><p><a href="https://github.com/ambilight-4-mediaportal/AtmoLight/blob/MP1_FEATURE_Gif_Reader/AtmoLight.Core/Core.cs#L78" target="_blank">https://github.com/ambilight-4-mediaportal/AtmoLight/blob/MP1_FEATURE_Gif_Reader/AtmoLight.Core/Core.cs#L78</a></p><p></p><p>Example:</p><p>If the value is bigger than -2 than first segment (red) gets shown.</p><p>If value is bigger than -5 then second segment (still red) gets shown.</p><p>and so on.</p><p></p><p></p><p></p><p>Sadly, not everybody can be me <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />.</p><p></p><p></p><p></p><p></p><p>As i said before im not that big of an audiophile, so my knowledge is limited. Currently i get the levels for left and right channel from the RMS method in the BassAudioEngine class. Like mp is doing to show a vu meter when music is playing. Looks like this method is using ChannelGetLevel.</p><p><a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/MusicPlayer/BASS/BassAudioEngine.cs#L2698-L2737" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/MusicPlayer/BASS/BassAudioEngine.cs#L2698-L2737</a></p><p></p><p>As you mentioned, we found out that this limits the vu meter to audio that gets played back using the bass engine. So only music and webradio (no dvb radio).</p><p>If you can give me hint how to use peakmeter from audio core, it would be highly appreciated <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />.</p></blockquote><p></p>
[QUOTE="Lightning303, post: 1086302, member: 97876"] Which version did you test? From git? Well i guess so, i didnt upload a test version with vu meter in it if i recall correctly ;p. I did some major improvements to the gif reader yesterday and some small fixes today. That should be independant from your system, but [USER=68365]@HomeY[/USER] 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. You can find the boundries for the 10 segments here: [url]https://github.com/ambilight-4-mediaportal/AtmoLight/blob/MP1_FEATURE_Gif_Reader/AtmoLight.Core/Core.cs#L78[/url] 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. Sadly, not everybody can be me :p. As i said before im not that big of an audiophile, so my knowledge is limited. Currently i get the levels for left and right channel from the RMS method in the BassAudioEngine class. Like mp is doing to show a vu meter when music is playing. Looks like this method is using ChannelGetLevel. [url]https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/MusicPlayer/BASS/BassAudioEngine.cs#L2698-L2737[/url] As you mentioned, we found out that this limits the vu meter to audio that gets played back using the bass engine. So only music and webradio (no dvb radio). If you can give me hint how to use peakmeter from audio core, it would be highly appreciated :). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
AtmoLight - 1.18.6.0 [2016-09-21]
Contact us
RSS
Top
Bottom