DSD decoding with SoX resampling is turned off - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: DSD decoding with SoX resampling is turned off (/showthread.php?tid=3773) Pages:
1
2
|
DSD decoding with SoX resampling is turned off - Igorf11 - 05-04-2021 Hello everybody! I noticed an incomprehensible thing. DSD64 and DSD128 are played back without decoding, while DSD256 and DSD512 are decoded into a 2-bit stream at a speed reduced by an order of magnitude, and at the output is converted back to the original format at a high speed. Am I seeing something wrong or is down / up sampling really happening? SoX resampling is turned off. RE: DSD decoding with SoX resampling is turned off - Tim Curtis - 05-04-2021 No resampling but prolly the lack of metadata in the .DFF format. Zp up the dsd256 .DFF file and PM me a download link. RE: DSD decoding with SoX resampling is turned off - Igorf11 - 05-05-2021 I have this information displayed on all DSD256 tracks. For example, on a file freely posted on the Internet: http://www.lindberg.no/hires/test/2L-125_stereo-11289k-1b_04.dsf.zip RE: DSD decoding with SoX resampling is turned off - TheOldPresbyope - 05-05-2021 [on a late lunch break, honest] Is it possible that the audio chain is working fine and we're just seeing a problem with parsing the parameters to display them? With my Khadas Tone Board I see 1. for a DSD64 test file from 2L.no Code: pi@moodeLR:~ $ cat /proc/asound/card2/pcm0p/sub0/hw_params which looks ok. For this track the Audioinfo popup reports: Code: INPUT / OUTPUT which also looks ok. 2. for a DSD256 version of the same track Code: pi@moodeLR:~ $ cat /proc/asound/card2/pcm0p/sub0/hw_params which again looks ok. But for this track the Audioinfo popup reports Code: INPUT / OUTPUT Compare the "Encoded at" and "Decode to" lines to the previous case. Sorry, I don't time to find where the parsing is done. Regards, Kent RE: DSD decoding with SoX resampling is turned off - TheOldPresbyope - 05-05-2021 Maybe this? Code: pi@moodeLR:~ $ mediainfo /media/MUSIC/2L-DSD/2L-45_stereo_01_DSF_2822k_1b.dsf vs Code: pi@moodeLR:~ $ mediainfo /media/MUSIC/2L-DSD/2L-45_stereo_01_DSF_11289k_1b.dsf Note the difference in the way mediainfo formatted the bit rate and sampling rate for the two. Regards, Kent RE: DSD decoding with SoX resampling is turned off - Tim Curtis - 05-05-2021 I also thought it might be a parsing issue with the media info output but it turns out to a bug in the formatRate() function in playerlib. The elements for dsd256 and higher were missing from the array :-0 All fixed now :-) RE: DSD decoding with SoX resampling is turned off - Igorf11 - 05-06-2021 Many thanks for your help! )) RE: DSD decoding with SoX resampling is turned off - Igorf11 - 06-27-2021 Good day! It looks like the same nonsense with pcm format 768 kHz ... RE: DSD decoding with SoX resampling is turned off - Tim Curtis - 06-27-2021 PM me a download link to the file and I'll have a look. RE: DSD decoding with SoX resampling is turned off - Tim Curtis - 06-29-2021 Looks like mediainfo reports a blank encoded_at rate for this file. Since that may occur for other files I added a fallback to get the encoded_at rate from MPD database. The fix will be in the next release. |