Triode wrote: 
> rpres - interested in your views of how accurate the spectrum analyser
> is - on the 1980x1080 skin it doesn't look too accurate to me - I think
> the gain is too high (some bars saturate, but also not sure how well it
> matches the music) - have you done any tuning in this area - I think you
> may have upped the frame rate.  Wandboard can definitely handle this,
> but do you have any recommendations?

Yeah there are a few that can be tweaked, it's all a trade-off though. 
Too high of gain and it clips, too low and the bars don't move much. 
You can reduce the overall gain by changing the bit shift "power_sum <<=
6" or you can enable the log function just above that.  There is also
frequency pre-emphasis "scale_db += 1.2" which changes the gain versus
frequency, set this to zero for the best accuracy.  There is also some
stuff in there "X_SCALE_LOG" to create a non-linear frequency scale, so
it gives more resolution to the lower frequencies.

I played with the scaling somewhat and settled on a "reasonable" scale
that seems to work well if the tracks have replaygain.  A lot of pop
tracks these days have a lot of gain, the so-called '\"loudness war\"'
(http://en.wikipedia.org/wiki/Loudness_war), but replaygain helps here.

A higher frame rate makes things smoother and more visually pleasing.  I
think most anything these days can do at least 30 FPS if not more. 
Myself I can see an improvement up to about 50 FPS.


------------------------------------------------------------------------
rpress's Profile: http://forums.slimdevices.com/member.php?userid=31544
View this thread: http://forums.slimdevices.com/showthread.php?t=98960

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to