Notices


Reply
Thread Tools
Posts: 182 | Thanked: 40 times | Joined on Apr 2010
#1
Happy new year everyone.

A few questions for the N900 nuts & bolts knowledgeable out there - how does the N900 with the FLAC filter handle high-bitrate FLACs?

They're playing fine in Media Player but they just sound 'off' for some reason. There's a sort of fuzziness about the sound that I wouldn't expect.

How does the N900 go about playing back e.g. 88khz, 24-bit FLACs? Does any resampling take place? If so, what component is responsible for that?
 
Posts: 9 | Thanked: 4 times | Joined on May 2010 @ Tampere
#2
Please look at /etc/pulse/daemon.conf

From there you'll see that PulseAudio converts all the output to ALSA to 48 kHz 16 bit stereo. The algorithm seems to be speex-fixed-2. It could be changed for higher quality but the load could increase a lot. Only this conversion has been optimized the Cortex-A8 CPU.

Your 88.1 kHz FLACs are quite challenging if there's lot of energy beyond 20 kHz. It would be better to resample and re-encode them for N900 for best result to 48 kHz/24 bit FLAC with some external high-quality re-sampler (sox?). The > 16 bit format could be beneficial to avoid quantization noise if the conversion tools are not applying proper dithering/noise shaping. The 88.1/24 stuff is high-end I assume and therefore the extra caution.
 

The Following 2 Users Say Thank You to seppoi For This Useful Post:
Posts: 427 | Thanked: 160 times | Joined on Nov 2009
#3
please note that the new rockbox port for n900 has a 'dither' feature but im not sure if/how it works.

i kinda remember trying to play 24/96 files and media player choking, but it may be my memory choking...
__________________
Please vote for the following bug:
Media player should play audio tracks continuously (gapless playback)
 
Posts: 182 | Thanked: 40 times | Joined on Apr 2010
#4
Originally Posted by seppoi View Post
Please look at /etc/pulse/daemon.conf

From there you'll see that PulseAudio converts all the output to ALSA to 48 kHz 16 bit stereo. The algorithm seems to be speex-fixed-2. It could be changed for higher quality but the load could increase a lot. Only this conversion has been optimized the Cortex-A8 CPU.

Your 88.1 kHz FLACs are quite challenging if there's lot of energy beyond 20 kHz. It would be better to resample and re-encode them for N900 for best result to 48 kHz/24 bit FLAC with some external high-quality re-sampler (sox?). The > 16 bit format could be beneficial to avoid quantization noise if the conversion tools are not applying proper dithering/noise shaping. The 88.1/24 stuff is high-end I assume and therefore the extra caution.
Many thanks for the comment. I understand the situation better - it's hard to know from an absolute perspective how much load all this should impose.

Given the FLAC support and also given the comparatively fast USB transfer rates of the N900, I've been dabbling with trying to play back my vinyl rips and also high-res downloads. Transcoding isn't really an option - too much hassle maintaining three libraries (currently FLAC + lossy).

Given that, I guess I should stick to the lossy transcodes. Oh well, it was a nice idea while it lasted.

So is 16b/44.1khz resampled to 16b/48khz too?

Last edited by punto; 2011-01-05 at 18:12.
 
Posts: 9 | Thanked: 4 times | Joined on May 2010 @ Tampere
#5
Yes, 44.1 kHz is upsampled to 48 kHz during playback.

I keep my lossless CD rips in 44.1/16 FLAC format and maintain lossy 48 kHz mp3 copies for portable devices. There is option --resample 48000 in lame. I have checked that the frequency response and dynamic range are as good as in a 44.1 decoded output.

88.1 is a bit of overkill for vinyl rips if the ADC is good quality (anti-alias etc.). There is not much point in better than 48/24 format for the end user.

Also 96 kHz could be a better choise for high-endism and intermediate format IMHO. N900 sounds quite OK with 96/24 FLACs. Decimation by 2 is much less complex than 88.1 to 48.

Last edited by seppoi; 2011-01-06 at 19:14.
 

The Following User Says Thank You to seppoi For This Useful Post:
Posts: 182 | Thanked: 40 times | Joined on Apr 2010
#6
Yup, I can't disagree with your post. Transcoding isn't, unfortunately however an option.

I notice other issues with N900 audio as well, but I guess this is the final nail in the coffin for even 44.1 playback - the iPhone does do a better job for example. In theory am I right in saying the N900 should be better? If so, is it just the pulseaudio implementation that is holding it back?
 
Posts: 9 | Thanked: 4 times | Joined on May 2010 @ Tampere
#7
Originally Posted by punto View Post
I notice other issues with N900 audio as well, but I guess this is the final nail in the coffin for even 44.1 playback - the iPhone does do a better job for example.
The upsampler there is high quality. Is there some particular reason you think that? N900 is significantly better than iPhone3G in most parameters (I dunno how reliable these are in absolute scale -- but at least the same setup has been used in measurements):

http://www.gsmarena.com/nokia_n900-review-421p7.php

Even IPhone4 is still weaker in some parameters such as noise and DR.

http://www.gsmarena.com/apple_iphone_4-review-490p7.php

Originally Posted by punto View Post
In theory am I right in saying the N900 should be better? If so, is it just the pulseaudio implementation that is holding it back?
Nope, I just pointed to optimal conditions for best possible results since using FLAC sounds to me like you seek that!
 
Posts: 182 | Thanked: 40 times | Joined on Apr 2010
#8
Originally Posted by seppoi View Post
The upsampler there is high quality. Is there some particular reason you think that? N900 is significantly better than iPhone3G in most parameters (I dunno how reliable these are in absolute scale -- but at least the same setup has been used in measurements):

http://www.gsmarena.com/nokia_n900-review-421p7.php

Even IPhone4 is still weaker in some parameters such as noise and DR.

http://www.gsmarena.com/apple_iphone_4-review-490p7.php



Nope, I just pointed to optimal conditions for best possible results since using FLAC sounds to me like you seek that!
Those tests are worthless - as you'll note here http://www.gsmarena.com/latest_featu...view-171p2.php they finally pegged onto the fact that to run an actually worthwhile test, you have to insert a headphone load into the audio chain - there is zero point in connecting it up to a 10kohm load to test audio quality which 99.999999999% of users will experience with headphones.

I don't even need to run RMAA (although what the heck, I might for BoostN900 - because I think it might come out to be a joke of epic proportions) to hear that the N900 has audibly worse SQ than the iPhone 4 with a FLAC vs ALAC and in MP3 / Ogg (for Spotify) - and not always as a constant, but in terms of added distortion at times. Which is why I suspect the firmware far more than the hardware. Maybe GMSArena will get around to running the N900 with a 32ohm load with different codecs some day...

Last edited by punto; 2011-01-07 at 12:00.
 
Posts: 9 | Thanked: 4 times | Joined on May 2010 @ Tampere
#9
Oh, I thought the previous tests were done with some headphone like resistive load because some phones still demonstrated poor low frequency response. You are right, the response and distortion measurements there are worthless. Should have noticed that from the distortion and crosstalk figures :^P

Vague idea: Are your headphone contacts clean?
 
Posts: 182 | Thanked: 40 times | Joined on Apr 2010
#10
Originally Posted by seppoi View Post
Oh, I thought the previous tests were done with some headphone like resistive load because some phones still demonstrated poor low frequency response. You are right, the response and distortion measurements there are worthless. Should have noticed that from the distortion and crosstalk figures :^P

Vague idea: Are your headphone contacts clean?
I can tell the difference between contact crackle and distortion, thank you very much
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:35.