This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12396 - Coldfire GCC4.5.2: Distortion when playing Musepack (mpc) SV8 files on iAudio X5V, release 3.9.1
Attached to Project:
Rockbox
Opened by Abel (username_already_taken) - Sunday, 20 November 2011, 20:55 GMT+2
Last edited by Andree Buschmann (Buschel) - Friday, 25 November 2011, 20:50 GMT+2
Opened by Abel (username_already_taken) - Sunday, 20 November 2011, 20:55 GMT+2
Last edited by Andree Buschmann (Buschel) - Friday, 25 November 2011, 20:50 GMT+2
|
DetailsIt is mostly noticeable around 5 and 20 seconds into the attached sample file.
Prior to installing release 3.9.1 I had been using Rockbox build r28437-101101, made after the Coldfire bugfix in Additional information: my Clip+ running rel 3.9.1 plays mpc files fine, however the %fc tag in my wps now reports all mpc files as Unknown codec type. The %fc bug is also present with rel 3.9.1 on the X5, but didn't happen when running build r28437-101101. |
This task depends upon
Closed by Andree Buschmann (Buschel)
Friday, 25 November 2011, 20:50 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with r31054 on Trunk and r31055 on v3.10 branch.
Friday, 25 November 2011, 20:50 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with r31054 on Trunk and r31055 on v3.10 branch.
I've attached a vorbis sample (encoded from the same source PCM file) for comparison with the sv8.mpc upload, and 2 "short" samples of the section where the distortion is most noticeable (the ~20'' mark in the original upload).
Meanwhile, I think I've identified another bug in X5, whenever I call the quickscreen the player crashes. Shall I file another bug report or is there any reason to believe this might due to a hardware/configuration fault on my side?
As you report the distortions with your X5 only I kindly ask you to make the following tests:
1) Decode short.mpc file to wav with the test_codec plugin on your X5 (You will need to build this by your own, if you cannot do this give the precise revision of your build and I can provide the plugin.). Then test if the resulting wav file sounds fine. If the distortions are still audible go to step 2.
2) Do the same on your Clip+. Then copy both decoded wav files to your PC and compare them, or upload both wav files to a fileshare place and place links here.
I don't know how to build the test_codec plugin as I've never compiled anything, I suppose I'll have to read this first: http://www.rockbox.org/wiki/HowToCompile
I'd appreciate if you could supply the plugins for both my Clip+ (rel 3.9.1) and X5 (r31036-111120) because otherwise it might take a few days until I figure out the process.
Clip+ build (r31040 + test plugins): http://www.sendspace.com/file/20ay30
X5V build (r31040 + test plugins): http://www.sendspace.com/file/qgwyz8 (this is my first Coldfire build, I cross fingers it works as it should)
Edit: Btw, is this bug reproducible in v3.8 as well?
I tried 3.8 and 3.9 and the distortion was already present in those releases. I think it is easier to spot using headphones, if anyone has an X5 please compare the first 2 seconds of the left channel of short.mpc against short.flac; in the simulator both files sound identical to me.
BTW, the X5 quickscreen freeze does not happen with any of the release versions (3.8, 3.9, 3.9.1), only with the later builds (r31036 and r31040).
Now with test plugins:
clipplus -> http://www.sendspace.com/file/movvam
x5 -> http://www.sendspace.com/file/onjm51
If the distortion occurs in 3.8 as well, there are only a few relevant changes.5 of them only impact ARM target, 3 of them impact all targets but do not seem to change anything which might result in distortion (r28561, r28563, r28627) -- especially nothing that might be limited to Coldfire architecture. Are you sure this distortion is not happening when playing the file with v3.7?
Regarding the quicksreen freeze, that one IS reproducible on a sim. Like I said it doesn't happen in 3.9 or 3.9.1, but if you the download daily sim (at the time of writing r31036) and hold the REC button to call the quickscreen, you'll notice that only the L/R options are displayed, the top and bottom (by default "Show Files") are not. In real hardware, this freezes the X5V, but in the sim it doesn't. Do you want me to submit a new bug report for this separate issue?
mpc playback in 3.7.1 seems fine, 3.7 was from before
FS#1170so it is broken for other reasons.All codecs should only work against svn (r31045) or the X5 build I have linked in one of my former comments. They won't work against 3.7.x or 3.9.x.
I have recompiled the codecs in question and removed identical ones (there was one change only relevant for ARM): http://www.sendspace.com/file/e6vjoy
r28437 built with GCC -> does not work
http://www.sendspace.com/file/mq2cjr
New GCC r26013 - works.
r26591 with new GCC -doesn't work