Sonerezh / sonerezh

A self-hosted, web-based application to stream your music, everywhere.
https://www.sonerezh.bzh
GNU Affero General Public License v3.0
767 stars 122 forks source link

Support DSD files #248

Open maxengel opened 7 years ago

maxengel commented 7 years ago

Do you have plans to support DSD files?

nodiscc commented 7 years ago

https://en.wikipedia.org/wiki/Direct_Stream_Digital interesting format.

Though Sonerezh relies on your browser codecs to actually decode audio files, so your browser would have to support DSD in the first place (hint: I don't think any browser does). In short no Sn won't be able to play your files unless your browser adds support for them

The alternative is to let the app transcode your DSD files to MP3/OGG (lossy) or convert them manually to lossless (ffmpeg/avconv does support DSD)

maxengel commented 7 years ago

If I happen to have a an external USB sound card/DAC that supports DSD, could the browser support it? Ideally, it would be the best possible use case if it was played in it's original format when the user has a DSD DAC on their computer, but transcodes automatically to a playable format when it doesn't. For example, could the app leverage DoP (DSD-over-PCM) when the client's computer couldn't play it natively?

I really am looking to avoid something like Subsonic (Java-based), and love the app. It would be great if DSD was supported.

maxengel commented 5 years ago

If I were to let ffmpeg to the heavy lifting and listen to tracks via ogg on the go, how would I add .dsf as a source format? It isn’t visible in the demo.