Coder Social home page Coder Social logo

dsf2flac's Introduction

dsf2flac.dop.dsd256

Updated conversion tool for DSD files

This tool is a fork from https://code.google.com/archive/p/dsf2flac/

AudioFile.h is a modified version from https://github.com/adamstark/AudioFile

I wish many thanks to all the authors involved in such tool. For me this is the only free way to play DSD256 files on my dac without getting mad.

Support conversion from dsf or dff to wav files via DoP. DSD256 is supported by converting source dsf or dff to a DoP stream encapsulated in a 2 channels wav file 705600hz, 24 bit as flac actually does not support sample rates above 655350.

Dependencies

Make sure to install the following dependencies:

# Update apt
sudo apt update
sudo apt upgrade

# All the dependencies listed out
sudo apt install make
sudo apt install cmake
sudo apt install build-essential
sudo apt install libboost-all-dev
sudo apt install libogg-dev
sudo apt install libflac-dev
sudo apt install libflac++-dev
sudo apt install libid3-3.8.3-dev
sudo apt install libz-dev

# OR Use the included bash file to install everything
./InstallDependencies.sh

Compiling

Clone the repository: git clone https://github.com/dhalsimax/dsf2flac.git

Then run the following commands:

cd ds2flac/build
cmake ..
make

Examples

FFmpeg ADI-2 DAC pipe example

dsf2flac -d -w -i "pathtofile" -o - | ffmpeg -i - -c pcm_s32le -f alsa iec958:CARD=DAC57750571,DEV=0

Well tested up to DSD256 dsf to DoP wav conversion with rme ADI 2 DAC.

The list of available alsa device names can be obtained with alsa command: aplay -L

Replace everything after the ffmpeg -f parameter with your alsa device name to try it out with your DAC.

dsf2flac's People

Contributors

dhalsimax avatar tekunalogy avatar

Stargazers

Lai avatar Fishand avatar Anthony avatar  avatar Quintus avatar  avatar laiba avatar Lucas Z. avatar  avatar Reuben Lifshay avatar  avatar Hewei Fu avatar  avatar Nicolas Canepa avatar Thomas H. avatar Robin Zhang avatar  avatar

Watchers

James Cloos avatar  avatar

dsf2flac's Issues

Could NOT find Ogg library

➜ build git:(master) ✗ cmake ..
CMake Error at /usr/share/cmake-3.13/Modules/FindBoost.cmake:2100 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:38 (find_package)

CMake Error at cmakemodules/FindOgg.cmake:12 (message):
Could NOT find Ogg library
Call Stack (most recent call first):
CMakeLists.txt:39 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/git/dsf2flac/build/CMakeFiles/CMakeOutput.log".

Please post an executable

Hello,
this program would be great for my sanity too if I could compile it easily. On Ubuntu, using cmake 3.19.1 (20.04) or 3.13.4 (16.04) I get problems relating to Boost and flac libraries.
Could you please post a compiled executable to save us this grief? I only a have a few DSD256's and no time since I am caring for a wife with brain cancer.
This woudl be greatly appreciated, Thank you so much

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.