hank / dsf2flac

Code for converting DSF to FLAC files
84 stars 33 forks source link

help with "incompatible sample rate combination" #27

Open MaximLeyenson opened 2 months ago

MaximLeyenson commented 2 months ago

My first time compiling and running dsf2flac (and, thank you for your effort in writing it!)

I am getting

$ dsf2flac -i 04.Pierrot.dsf 
dsf2flac 0.1Rev54

Input file
    04.Pierrot.dsf
Output format
    SampleRate: 88200Hz
    Depth: 24bit
    Dither: true
    Scale: 4.0dB
Sorry, incompatible sample rate combination

I do not know (virtually) anything about DSD, and would appreciate your help. Thank you!

jackocleebrown commented 2 months ago

Hello, dsf2flac has support for sample rate ratios of 8, 16 or 32. This error occurs because the input sample rate divided by the output sample rate (88200Hz) is not one of these three supported ratios. You can try specifying a different output sample rate by using the "-r" command line flag. Do you know the sample rate of your DSD file (e.g. DSD64, DSD128 etc).