Maldur Posted September 6, 2015 Share Posted September 6, 2015 I probably do DST encoder as well, but I don't see where it can be used. We can say that (HDD)storage costs some peanuts, but we can hypotetically think that maybe DSD content starts growing in higher speed than now, then DST lossless is a option worth something when someone collects/uses larger archive. Sorry, english is not my native language. Fools and fanatics are always certain of themselves, but wiser people are full of doubts. Link to comment
mansr Posted September 6, 2015 Author Share Posted September 6, 2015 I wouldn't agree about complexity in algorithmic sense. It's kind of "traditional" FIR filter prediction plus arithmetic encoding of residuals. It's a 30-page spec. Granted, that's a lot less than, say, AAC, but there are still a lot of cases to cover. Link to comment
manisiutkin Posted September 6, 2015 Share Posted September 6, 2015 We can say that (HDD)storage costs some peanuts, but we can hypotetically think that maybe DSD content starts growing in higher speed than now, then DST lossless is a option worth something when someone collects/uses larger archive. In this situation of DST decoding on-the-fly you just trade approximately 2x compression ratio for high CPU load. In the case of big DSD collection it surely could save a lot of disk space. But I would prefer to use DST only when it is a necessity. Like playing back SACD ISOs. Link to comment
manisiutkin Posted September 6, 2015 Share Posted September 6, 2015 It's a 30-page spec. Granted, that's a lot less than, say, AAC, but there are still a lot of cases to cover.I never saw this 30 page spec, only read DST encoder sources. That made an impression that the most complicated part of algorithm is the actual packing of compressed data into DST stream. If you could give me a link to this DST spec I would appreciate a lot. Link to comment
mansr Posted September 6, 2015 Author Share Posted September 6, 2015 I never saw this 30 page spec, only read DST encoder sources. That made an impression that the most complicated part of algorithm is the actual packing of compressed data into DST stream. If you could give me a link to this DST spec I would appreciate a lot. DST compression is included as subpart 10 of the MPEG4 audio spec (ISO 14496-3). Here's a freely available draft version: https://www.itscj.ipsj.or.jp/sc29/open/29view/29n6213t.doc The final version is available for purchase from ISO, or you can usually find leaked or accidentally published copies with a bit of searching. Link to comment
Maldur Posted September 7, 2015 Share Posted September 7, 2015 In this situation of DST decoding on-the-fly you just trade approximately 2x compression ratio for high CPU load. In the case of big DSD collection it surely could save a lot of disk space. But I would prefer to use DST only when it is a necessity. Like playing back SACD ISOs. I agree. In case of SACD (=DSD64) compression ratio is actually a bit higher, 2,4-2,6x, depends of signal level. Sorry, english is not my native language. Fools and fanatics are always certain of themselves, but wiser people are full of doubts. Link to comment
manisiutkin Posted September 9, 2015 Share Posted September 9, 2015 DST compression is included as subpart 10 of the MPEG4 audio spec (ISO 14496-3). Here's a freely available draft version:https://www.itscj.ipsj.or.jp/sc29/open/29view/29n6213t.doc Thank you! A good add to the DST source code. Link to comment
mansr Posted September 11, 2015 Author Share Posted September 11, 2015 I have now added support for DoP encapsulation of DSD. Link to comment
Jud Posted September 11, 2015 Share Posted September 11, 2015 I have now added support for DoP encapsulation of DSD. Thanks once again. One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical Ethernet to Fitlet3 -> Fibbr Alpha Optical USB -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
hifi25nl Posted October 23, 2015 Share Posted October 23, 2015 Very interesting! I have made a package for archlinux users here https://aur.archlinux.org/packages/sox-dsd-git/ AudioLinux --> https://www.audio-linux.com developer of AudioLinux realtime OS Link to comment
mansr Posted October 23, 2015 Author Share Posted October 23, 2015 Very interesting!I have made a package for archlinux users here https://aur.archlinux.org/packages/sox-dsd-git/ Nice. The example command lines in your comment on that page look a bit munged. Link to comment
hifi25nl Posted October 31, 2015 Share Posted October 31, 2015 In MPD music player (compiled with sox enabled and DSD patches) I use something like this for realtime PCM --> PCM upsampling with sox audio_output_format "768000:32:2" samplerate_converter "soxr very high" Is there an equivalent for PCM --> DSD conversion? I have already tried some parameters, but I didn't get it working. EDIT: I guess that libsoxr must be patched and recompiled in some way... AudioLinux --> https://www.audio-linux.com developer of AudioLinux realtime OS Link to comment
mansr Posted October 31, 2015 Author Share Posted October 31, 2015 In MPD music player (compiled with sox enabled and DSD patches) I use something like this for realtime PCM --> PCM upsampling with sox audio_output_format "768000:32:2" samplerate_converter "soxr very high" Is there an equivalent for PCM --> DSD conversion? I have already tried some parameters, but I didn't get it working. Maybe MPD need a patch for this? You probably need to patch MPD to teach it about the new functionality. Link to comment
YashN Posted February 16, 2016 Share Posted February 16, 2016 Yes. To do that you need to remove the high-frequency noise from the original, resample to 256x rate, and quantise to 1-bit. Like this: sox in.dsf out.dsf rate -v 88200 gain 6 rate -v 11289600 sdm Very cool! Thanks for volunteering this, mansr. Dedicated Line DSD/DXD | Audirvana+ | iFi iDSD Nano | SET Tube Amp | Totem Mites Surround: VLC | M-Audio FastTrack Pro | Mac Opt | Panasonic SA-HE100 | Logitech Z623 DIY: SET Tube Amp | Low-Noise Linear Regulated Power Supply | USB, Power, Speaker Cables | Speaker Stands | Acoustic Panels Link to comment
lmitche Posted February 17, 2016 Share Posted February 17, 2016 Hi, I missed this thread entirely until now. Do I have this right? Mpd-dsd has been patched to support PCM up sampling to native DSD 256 with Mansrs innovation? klassikmann 1 Pareto Audio aka nuckleheadaudio Link to comment
mansr Posted February 17, 2016 Author Share Posted February 17, 2016 Hi, I missed this thread entirely until now. Do I have this right? Mpd-dsd has been patched to support PCM up sampling to native DSD 256 with Mansrs innovation? Innovation is hardly the word I'd use. Quick hack is more like it. Link to comment
Jud Posted April 3, 2016 Share Posted April 3, 2016 Can you (or any kind reader) provide the idiot's minimal guide to installation on El Capitan 10.11.4, or failing that, on Xubuntu 15.10? One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical Ethernet to Fitlet3 -> Fibbr Alpha Optical USB -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
Jud Posted April 4, 2016 Share Posted April 4, 2016 Can you (or any kind reader) provide the idiot's minimal guide to installation on El Capitan 10.11.4, or failing that, on Xubuntu 15.10? Never mind - needed up to date autoconf and automake, possibly (g)libtool. Now we'll see if it runs. One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical Ethernet to Fitlet3 -> Fibbr Alpha Optical USB -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
Jud Posted April 4, 2016 Share Posted April 4, 2016 Innovation is hardly the word I'd use. Quick hack is more like it. I'm guessing Real Life is busy, but do you have time and inclination to optimize for DSD128? Don't know if I'll be able to make head or tail of them, but where are the files with the interpolation filter and sigma-delta modulator settings in case I wanted to try playing around? One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical Ethernet to Fitlet3 -> Fibbr Alpha Optical USB -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
mansr Posted April 4, 2016 Author Share Posted April 4, 2016 I'm guessing Real Life is busy, but do you have time and inclination to optimize for DSD128? I've already added filters tuned for DSD128 and DSD256. They can probably still be improved though. Don't know if I'll be able to make head or tail of them, but where are the files with the interpolation filter and sigma-delta modulator settings in case I wanted to try playing around? It's all in sdm.c Link to comment
Jud Posted April 4, 2016 Share Posted April 4, 2016 I've already added filters tuned for DSD128 and DSD256. They can probably still be improved though. It's all in sdm.c Much appreciated. Are the parameters "hq" and 5644880 sufficient for best quality conversion to DSD128? One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical Ethernet to Fitlet3 -> Fibbr Alpha Optical USB -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
mansr Posted April 4, 2016 Author Share Posted April 4, 2016 Much appreciated. Are the parameters "hq" and 5644880 sufficient for best quality conversion to DSD128? That should give good results. Link to comment
sm31 Posted May 3, 2016 Share Posted May 3, 2016 Is there any documentation to show the commands for the basic use cases here (dsd2pcm pcm2dsd, dsd2dsd)? If not, could you perhaps add one to the repo, or post them here? Link to comment
k525 Posted May 8, 2016 Share Posted May 8, 2016 Hi Could someone help me to complete for OSX ? Regards Link to comment
k525 Posted May 8, 2016 Share Posted May 8, 2016 Hi Could someone help me to complete for OSX ? Regards Sorry I mean "compile" ! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now