Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foobar2000 can't play wav pcm with samplerate 2822400 Hz (Read 2477 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foobar2000 can't play wav pcm with samplerate 2822400 Hz

foobar2000 1.3.16 can't play/decode wav pcm with samplerate 2822400 Hz. It reports "Unsupported format or corrupted file". But it can play this file if file is compressed with wavpack.
XMPlay can play original wav without problem.
Sample: https://www.dropbox.com/s/q8ui02mhjhm7uch/o5dsd512%3D%3D99.wav?dl=0

Re: foobar2000 can't play wav pcm with samplerate 2822400 Hz

Reply #1
XMPlay 3.8.2 crashes for me when i try and play your sample.
Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith.

Re: foobar2000 can't play wav pcm with samplerate 2822400 Hz

Reply #2
XMPlay 3.8.2.3 can internally downsample and play the sample back if I select "apply sample rate to all file formats" in settings. Sound Forge 6 and 7 can open the file and process it with most tools. Of course, direct playback isn't possible. Sample rate and byte rate are dwords so they should be able to hold these values.

 

Re: foobar2000 can't play wav pcm with samplerate 2822400 Hz

Reply #3
Opening of such file is currently stopped by a sanity check, assuming that a file with apparent sample rate greater than 1MHz must be malformed.

Since there seem to be legitimate uses for such files now, I'll allow it from the next version up.

Until then, you can mitigate this by using WavPack.
Microsoft Windows: We can't script here, this is bat country.

Re: foobar2000 can't play wav pcm with samplerate 2822400 Hz

Reply #4
Few words about this file and the huge sampling rate.
You can easily find the source by searching the name in a search engine :

http://wechdomi.org/english/index.html
(direct link = http://wechdomi.org/M333/o5dsd512.dff) warning: 2 GB!

It's a DSD512 DFF file (22 579 200 Hz / 1 bit). According to Rollin it was converted with WavPack 5, which is now able to losslessly compress DSD. And even if foobar2000 can't read DSD, the WavPack library automatically transforms DSD files to PCM at ultra-high resolution for compatibility reason.

If you open the *.wv file in foobar2000, it appears as a PCM file at 2 822 400 Hz and 24 bit.
If you open the same file in foobar2000 with foo_input_sacd (which supports DSD in Wavpack format), the player detects the file as 22 579 200 Hz/1bit. And the foo_input_sacd component allows a much friendlier PCM sampling rate (88200 to 352000 Hz) for playback or encoding.



(on left a WavPack file without foo_input_dsd and on the right, the same file with foo_input_sacd 1.0.9

Re: foobar2000 can't play wav pcm with samplerate 2822400 Hz

Reply #5
Off topic: what a waste of bandwidth and storage. Any BluRay with 45Mbit/s has a brilliant picture and multiple lossless multichannel audio tracks.

.halverhahn

Re: foobar2000 can't play wav pcm with samplerate 2822400 Hz

Reply #6
It's a DSD512 DFF file (22 579 200 Hz / 1 bit). According to Rollin it was converted with WavPack 5, which is now able to losslessly compress DSD. And even if foobar2000 can't read DSD, the WavPack library automatically transforms DSD files to PCM at ultra-high resolution for compatibility reason.
It WAS DSD512 DFF file. Then it was encoded with wavpack, then it was decoded to PCM with foobar2000's native wavpack decoder. So, finally, it is simple PCM wav with 16 bit 2822400 Hz.

Anyway i am satisfied with response from Peter.