PDA

View Full Version : SoX not working right?



peber
2009-08-22, 14:39
I've got a Squeezebox Classic with fw 127 and SqueezeCenter 7.3.3. Today I bought a recording from Linn which is recorded in 24/88.2. It plays alright but the bitrate is around 700 and on my DAC it says 44.1 kHz which leads me to think that SoX converts it to 16/44.1 and not to 24/48 that the Classic can handle. Is this because it is recorded in 88.2? If it converts to 44.1 shouldn't it at least be 24 bit? The bitrate seems to low for this, I have another recording which is 24/48 and there the bitrate is about doubled.

Is something wrong? Do I have to change/check anything?

/Per

PS. Just tried to play the files in foobar2000 and get this message: "Unsupported stream format: 88200 Hz / 16-bit / 2 channels" So it seems that they are not 24 bit at all... What a scam, it says 24 bit on Linn:s homepage... BUT... Do SoX convert to the nearest working sampling freq, i.e. 88.2 to 44.1 and 96 to 48? Have I got it right?

/Per

radish
2009-08-22, 19:08
PS. Just tried to play the files in foobar2000 and get this message: "Unsupported stream format: 88200 Hz / 16-bit / 2 channels" So it seems that they are not 24 bit at all... What a scam, it says 24 bit on Linn:s homepage... BUT... Do SoX convert to the nearest working sampling freq, i.e. 88.2 to 44.1 and 96 to 48? Have I got it right?


I believe so, because you'll probably end up with a better overall result that way (the math is much simpler!).

peber
2009-08-23, 00:16
OK, I suspected this. I have sent an email to Linn regarding if the recording really is 24 bit but if it is 24 bit, it would play back as 24/44.1 on my Classic, right? Is there any other way than the bitrate to determine whether it is played back as 16 or 24 bit?

/Per

Phil Leigh
2009-08-23, 00:55
OK, I suspected this. I have sent an email to Linn regarding if the recording really is 24 bit but if it is 24 bit, it would play back as 24/44.1 on my Classic, right? Is there any other way than the bitrate to determine whether it is played back as 16 or 24 bit?

/Per

You need to convert the 24/88.2 files from WAV to FLAC first...

(I'm assuming you downloaded the files from Linn as WAV?)

The SOX resampling process only works properly with FLAC at the moment.

peber
2009-08-23, 01:38
They are 24/88.2 FLAC...

/Per

Phil Leigh
2009-08-23, 02:42
They are 24/88.2 FLAC...

/Per

OK good. So which files did you download?

peber
2009-08-23, 05:20
Sorry, I should have been more clear. I bought them as 24/88.2 from Linn and downloaded them as 24/88.2. The file size and bitrate in the files indicate that they really are 24/88.2 but when played on my box all indicates that they are played as 16/44.1 instead of 24/44.1 and foobar says it can not play them at all because they are in an unknown format; 16/88.2 (I can play another record I bought from Linn that is 24/48 both in foobar and on my box without any problems). I have made no changes besides coying them to my music library and tagging them with tag&rename. I have also checked the original downloaded files in foobar; same thing.

The record I bought is this one:
http://www.linnrecords.com/recording-mozart-symphonies.aspx

/Per

radish
2009-08-23, 08:06
metaflac is the definitive source, run it on the file and it'll tell you what it is.

kmccourt
2009-08-23, 10:06
The record I bought is this one:
http://www.linnrecords.com/recording-mozart-symphonies.aspx
/Per

I have this recording in 'studio master' FLAC quality.

Foobar plays the original fine and reports it correctly as 24/88.2 (see image).

peber
2009-08-23, 10:25
Strange... Is there something wrong with my download then?? I'll check with Linn.

/Per

peber
2009-08-23, 23:07
Now I have tested the files in foobar2000 on my laptop at work and there they play back just fine. I do not have a sqeezebox there so I cannot test that but why o why do they work in the office but not at home? Is there some setting I need to check? I have windows vista at home and windows xp at work. Why do they play as 16 bit on Vista and 24 bit on XP? I understand absolutely nothing... As I said, another recording which is 24/48 works fine so...?????

To be absolutely sure... A 24/88.2 recording played back on a SB Classic should be played back at 24/44.1 when using SC 7.3.3??

/Per

kmccourt
2009-08-24, 09:22
Now I have tested the files in foobar2000 on my laptop at work and there they play back just fine. I do not have a sqeezebox there so I cannot test that but why o why do they work in the office but not at home? Is there some setting I need to check? I have windows vista at home and windows xp at work. Why do they play as 16 bit on Vista and 24 bit on XP? I understand absolutely nothing... As I said, another recording which is 24/48 works fine so...?????

That grainy screenshot above is from a PC running Vista. I don't normally use Foobar but just downloaded it to check out how it reported those files.


To be absolutely sure... A 24/88.2 recording played back on a SB Classic should be played back at 24/44.1 when using SC 7.3.3??
Yes I believe so.

peber
2009-08-24, 22:50
That grainy screenshot above is from a PC running Vista. I don't normally use Foobar but just downloaded it to check out how it reported those files.

Thanks! :-) A small tip since you have installed foobar... I use it mainly to apply replaygain on music I have downloaded; ripped music has replaygain added during the rip (dbpoweramp) but for downloads I use foobar.


I think that the next step is to check the log file to see if I can get any info from there...

/Per