Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Music playback
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by p.h. - 2008-10-14
Last edited by petur - 2008-10-18

FS#9489 - nonlinear frequency response for all codecs

Recent builds degrade frequency response. It is not flat any longer.

Take a look at my measurements. I have prepared a 10 second long white noise wave, aac and mp3 files and playback it on an old build and a recent one (from 14.10). Results are showing that current build applies some low-pass filtering in a whole audible frequency range and especially in 2-10kHz range.

I think it was introduced a week or more ago.

Closed by  petur
2008-10-18 21:58
Reason for closing:  Fixed
Additional comments about closing:  

FS #9496 accepted

Please narrow it down to a specific build, to make it easier for someone to find and fix the problem.

nls commented on 2008-10-14 21:24

Also please make sure you don’t have any sound aletring settings enabled, like EQ, crossfeed etc. and tell us which player you’re using.

p.h. commented on 2008-10-14 21:41

I will try. For now I can only add the bug exists for over one month (daily build from the 14th of September has it). I will search older revisions.

p.h. commented on 2008-10-14 21:42

I am using H10 20GB. Of course I have all EQ related settings disabled.

p.h. commented on 2008-10-14 21:47

I guess it’s caused by rev. 18478. I’ll check it tomorrow.

p.h. commented on 2008-10-14 22:32

Revision 18478 introduced the deemphasis present up to now, but in revision 18476 preemphasis was present (see screenshot).

r18478 just fixes a bug that caused the (intended) activation of deemphasis not to work. It was intended to be activated since r14948 (2 Oct 2007!). However, I have no real idea why it should be activated. jhMikeS might know as he added this.

There’s a relatively easy way to find out. In firmware/drivers/audio/wm8731.c, remove the “| DAPCTRL_DEEMP_44KHz” part in line 64. Furthermore make the audiohw_set_nsorder() function (line 207ff) an empty function. If this gives linear response, the deemphasis setting is the problem and should be deactivated in SVN as well.

p.h. commented on 2008-10-15 18:00

The revision which I initially referred to as an old one is rev. 17523. The revision gives flat frequency response.

Doing the changes you’ve suggested amiconn results once more in nonlinear frequency response (look at atached screenshot). This time high frequencies are boosted.

I’m investigating changes from revision 18294.

p.h. commented on 2008-10-16 07:49

The strange thing is that OF gives the same frequency response as on the last screenshot, i.e. with slightly boosted high frequencies (in range 4kHz-18.5kHz). Of course with all EQ, SRS turned off. I have once again measured rev. 15723 which initially gave me flat response and this time it produced the same response as the one visible on the last screenshot.
Moreover, very old build from my small H10 gives the same response too.
I must say I’m a bit confused here.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing