Hi again,
sorry for the late response I did a lot of testing and here are my
results:
>
> If I understand you - the WAV file is not reall a WAV file of PCM
> samples but a set of data samples which is DXD. In which case the WAV
> header can be anything as long as data is passed through to DAC.
> Do you have 352kHz DXD files which work ? If so compare the WAV header
> of the working one against the non-working one. Use something like
> hexdump (hd) and dump the first 512bytes (e.g hd -n 512 file.wav ) -
> you'll know the dump is OK when you see somehting like "RIFF.t2.WAVEfmt
> "
>
This is the file that does not work with default settings and without
conversion:
Code:
--------------------
hd - n 512
/LPS_Test/Medien/Medien/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav
......
24b17a32
root@test:
--------------------
This is one File that works
Code:
--------------------
hd - n 512
/LPS_Test/Medien/Medien/TEST/a-fool-for-you-carmen-gomes-inc-dxd352khz.wav
.....
0f2b7300 81 d5 5f f2 ca 7f fa d8 9e fd d7 ba 09 33 df f1 |.._..........3..|
0f2b7310 7a ca 7f d4 75 4f fd 6d 6f 7e eb dd 34 fb f7 5e |z...uO.mo~..4..^|
0f2b7320 eb de fd d7 ba f7 bf 75 ee bd ef dd 7b ae ff 00 |.......u....{...|
0f2b7330 03 fd 73 fe f4 3d fb af 75 d7 bf 75 ee bd ef dd |..s..=..u..u....|
0f2b7340 7b af 7b f7 5e eb de fd d7 ba f7 bf 75 ee bd ef |{.{.^.......u...|
0f2b7350 dd 7b ae c7 d7 fd 81 ff 00 7a 3e fd d7 ba eb df |.{.......z>.....|
0f2b7360 ba f7 53 f1 bf f0 36 8f fe a2 e1 ff 00 a1 87 bf |..S...6.........|
0f2b7370 75 ee 8f c6 c6 ff 00 8b 65 07 fa f9 1f fa d2 9e |u.......e.......|
0f2b7380 fd d7 ba 6d ee 8f f9 94 92 ff 00 da ce 9f fe 85 |...m............|
0f2b7390 f7 ee bd d1 0a f7 ee bd d7 bd fb af 75 ef 7e eb |............u.~.|
0f2b73a0 dd 7b df ba f7 5e f7 ee bd d7 bd fb af 75 ef 7e |.{...^.......u.~|
0f2b73b0 eb dd 7b df ba f7 5e f7 ee bd d7 bd fb af 75 ff |..{...^.......u.|
0f2b73c0 d9 00 |..|
0f2b73c2
root@test:
--------------------
The only way to get the DXD
(What-A-Wonderful-World_DXD352KHz_2chDXD.wav) file to work is:
1) Install C-3PO Plugin
2a) Start squeezelite version R2 from Marco with
Code:
--------------------
./squeezeR2 -d decode=debug -D :u32be -o hw:CARD=D20,DEV=0
--------------------
or
2b) Start Squeezelite (Ralphy) with:
Code:
--------------------
./squeeze -W -d decode=debug -D :u32be -o hw:CARD=D20,DEV=0
--------------------
The -W is important otherwise it does not work !!!!
3) Then go to settings in the Player tab / C-3PO Transcoding helper
There you have to enable C-3PO for the Player. (I think that was already
done by default)
4) On this Page the important Setting is on the section "Dithering". The
default setting already works. If you disable the dithering it will only
give you a Pink Noise.
Enabling it (Automatic(default)) with 3Byte 24bit (also default) will
solve it.
So thank you all for help and support. My final question to better
understand would be:
1) What does that mean for the quality for DXD. It's not resampled as I
see 352,8Khz on my DAC. But it is converted. What exactly happens here
and does that modify the file and degrade the quality?
2) If i go to "Last executed command" I see:
Code:
--------------------
At: 2018/08/18 13:44:41
Profile:
wav-pcm-*-00:22:4d:b7:7d:9e
Command:
[C-3PO] -c $CLIENTID$ -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs"
-l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i wav -o wav $START$ $END$
$RESAMPLE$ $FILE$ --nodebuglog --noinfolog
Tokenized command:
"/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Bin/C-3PO" -c
00-22-4d-b7-7d-9e -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l
"/var/log/squeezeboxserver/" -x "/usr/sbin" -i wav -o wav
"/LPS_Test/Medien/Medien/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav"
--nodebuglog --noinfolog & |
Trasformed by C-3PO in:
"/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav
"/LPS_Test/Medien/Medien/TEST/What-A-Wonderful-World_DXD352KHz_2chDXD.wav" -t
wav -b 24 --buffer 8192 - gain -h
--------------------
So how would the "convert.conf" file look like? That is just for
interest as I will definitely stick to this wonderful Plugin :-)
3) Would you recommend to replace the SOC version? Marco described how
to do that (https://audiodigitale.eu/) to have support for DSD. I do not
really need the DSD feature as DSD512 is already played however maybe
there are other side effects that will improve.
4) Still the 768 Test file I uploaded here does not work. I mean :-) OK
not really a problem but I would like to know why. It does play when you
disable 768Kzh in the settings. You can then see that it is resampled to
384Khz
Code:
--------------------
[14:06:40.432569] codec_open:257 codec open: 'p'
[14:06:40.432595] pcm_open:397 pcm size: 3 rate: 44100 chan: 2 bigendian: 0
[14:06:40.610851] _check_header:80 WAVE
[14:06:40.610883] _check_header:104 header: fmt len: 40
[14:06:40.610888] _check_header:143 pcm size: 3 rate: 384000 chan: 2
bigendian: 0
[14:06:40.610892] _check_header:104 header: fact len: 4
[14:06:40.610895] _check_header:104 header: data len: 34560000
[14:06:40.610899] _check_header:115 wav audio size: 34560000
[14:06:40.610903] pcm_decode:206 setting track_start
--------------------
otherwise it's not resampled and the DAC shows PCM768 but output is only
strange noise
Code:
--------------------
[14:05:27.100603] decode_flush:229 decode flush
[14:05:27.116586] codec_open:257 codec open: 'p'
[14:05:27.116620] pcm_open:397 pcm size: 3 rate: 44100 chan: 2 bigendian: 0
[14:05:27.310240] _check_header:80 WAVE
[14:05:27.310597] _check_header:104 header: fmt len: 40
[14:05:27.310605] _check_header:143 pcm size: 3 rate: 768000 chan: 2
bigendian: 0
[14:05:27.310617] _check_header:104 header: fact len: 4
[14:05:27.310621] _check_header:104 header: data len: 69120000
[14:05:27.310625] _check_header:115 wav audio size: 69120000
[14:05:27.310628] pcm_decode:206 setting track_start
[14:05:28.723652] decode_flush:229 decode flush
--------------------
5) And Finally: If you try to jump within a track that is handled by
C-3PO the Playback stops. I guess this is a technical limitation of the
conversion but maybe I have overseen something :-)
Thanks again and have a nice weekend
S
------------------------------------------------------------------------
s25a's Profile: http://forums.slimdevices.com/member.php?userid=65256
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix