Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« previous next »
  • Print
Pages: [1] 2

Author Topic: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added  (Read 6207 times)

Offline grums

  • Member
  • *
  • Posts: 45
Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« on: March 16, 2011, 08:53:48 AM »
I've encoded a track using neroaacenc -q 29, resulting in an AAC/SBR file with kbitrate 82.
When I playback on the Clip+, some high-pitched sound is added on top of a saxophone.
Problem is on RB 3.7.1 and 3.8.
No problem with playback on a Creative Zen, or Windows foobar2000 (through Behringer UCA202 DAC), or on Clip+ with forced LC encoded track.
Problem is also on Windows Clip+ simulators (using the DAC).
I've used speakers and several different phones, same result.
I have a .7z archive with 3 18 sec soundfiles, encoder and doc.

Ole
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #1 on: March 16, 2011, 10:24:16 AM »
This sounds like an issue with the software decoder itself. Can you provide a sequence (ony a few seconds) to further analyze this? I will need the original pcm, the encoded m4a, the foobar decoded pcm and the clip+ simulation decoded pcm.
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline grums

  • Member
  • *
  • Posts: 45
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #2 on: March 16, 2011, 01:30:04 PM »
Sorry about my ignorance, I'm not exactly an expert on this: please hint me about how to provide the following:
  • the foobar decoded pcm (maybe I can find out myself)
  • the clip+ simulation decoded pcm - hmmm...
Ole
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #3 on: March 16, 2011, 01:52:23 PM »
No problem, let me try to explain.

1) You will be able to decode the m4a file to a wav-file. Just provide this wav-file.
2) I can do this by myself, if you provide the m4a. Rockbox has the possibility to decode any audio file to wav and write this to flash or HDD.
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline grums

  • Member
  • *
  • Posts: 45
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #4 on: March 16, 2011, 02:35:44 PM »
OK, the archive is on http://dl.dropbox.com/u/6132290/clipplus-aac.7z -
Please notify me when it's downloaded.
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #5 on: March 16, 2011, 06:00:29 PM »
Downloaded, will take a look at them tomorrow earliest. Thanks so far!

Edit: There definately *are* visible differences when comparing the spectral representation of the foobar-decoded file against rockbox's output. Do you have a chance to give a bit more information about when this came in? e.g. with which rockbox version?
« Last Edit: March 16, 2011, 06:18:29 PM by Buschel »
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #6 on: March 16, 2011, 06:26:12 PM »
Trying the current build I get pretty similar output to foobar.  Theres some difference (RMS error is ~16 PCM levels).  Interestingly the error isn't white, its concentrated in the SBR bands (although it looks fairly uniform there), but I'm not sure thats wrong.  IIRC the SBR signal contains a random component. 

Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #7 on: March 16, 2011, 06:46:19 PM »


http://duke.edu/~mgg6/pics/error.png

FFT of the error signal plotted on a dB scale.  Not really sure what to make of it, the error doesn't line up all that well with the SBR region after all.
Logged

Offline grums

  • Member
  • *
  • Posts: 45
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #8 on: March 17, 2011, 02:57:32 AM »
Interesting!
I can't help you much with history, as my first version was 3.7.1.
(I don't listen to that record very often, but funny enough: on another track from it, with low music intensity and slow blue piano notes, OGG encoding at ~80 kbits/sec suffers, even with the newest encoders)
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #9 on: March 17, 2011, 03:08:59 AM »
The images I have linked show a spectral view of the foobar and rockbox decoded files. You can easily spot the differences. It only seems to affect higher frequency components. A first quick guess from my side is that this might be a bug in the hf_adj/hf_gen part of the decoder...


http://img854.imageshack.us/img854/7427/foobar.jpg


http://img860.imageshack.us/img860/6277/rockbox.jpg
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline grums

  • Member
  • *
  • Posts: 45
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #10 on: March 17, 2011, 05:00:52 AM »
OK, I can see they're quite different - does it make any sense to compare with the the source code for the foobar decoder (I assume it's available)?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #11 on: March 17, 2011, 11:34:21 AM »
Quote from: grums on March 17, 2011, 05:00:52 AM
OK, I can see they're quite different - does it make any sense to compare with the the source code for the foobar decoder (I assume it's available)?

Yes, its the same one we're using. 
Logged

Offline grums

  • Member
  • *
  • Posts: 45
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #12 on: March 17, 2011, 05:02:34 PM »
So it's not only a Clip+ problem (targets running a similar processor type will exhibit the same symtoms)?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #13 on: March 17, 2011, 05:11:50 PM »
Probably all rockbox devices, although its possible the bug might be ARM specific, in which case coldfire players might not have it. 
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
« Reply #14 on: March 17, 2011, 05:15:57 PM »
The spectral view was done with files which were decoded via sim. So, this is not ARM specific.
« Last Edit: March 18, 2011, 01:13:19 PM by Buschel »
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Clip+ playback: AAC/SBR 82 kbit/s - high pitch sound added
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.077 seconds with 14 queries.