Menu

#7 Add support for decoding DSF files

PACPL
closed
None
5
2018-07-22
2018-05-19
No

I've just came across a batch of DSF files to convert, so I patched pacpl to accomodate it. The decoder is called sacd, and I obtained it from this Ubuntu PPA. I use it regularly to decode SACD iso files, and have just discovered that it logically also decodes DSF files.

It was a bit tricky to implement support for sacd since it doesn't allow you to choose the name of the output wav file: it always uses the basename of the DSF file with the wav extension. pacpl relies completely on using wav files named "basename.$$.wav", so it couldn't accomodate sacd out-of-the-box. I modified pacpl to check the decoding string: if it contains %o, then use old wav filename "basename.$$.file", but if it doesn't contain %o, it uses simply "basename.wav".

I've attached a patch.

1 Attachments

Discussion

  • Philip Lyons

    Philip Lyons - 2018-05-20
    • status: open --> accepted
    • assigned_to: Philip Lyons
     
  • Philip Lyons

    Philip Lyons - 2018-05-21

    I've appliede the patch and pushed it to git. Have you tested this using one of the gui scripts for gnome/kde?

     
  • Paulo Marcel Coelho Aragão

    Have you tested this using one of the gui scripts for gnome/kde?

    No. I run pacpl from a bash script, so I never actually tried the GUI scripts.

     
  • Philip Lyons

    Philip Lyons - 2018-05-22

    Come on man :) I love the additions but when adding a new codec we gotta make sure it works.

     
  • Paulo Marcel Coelho Aragão

    I ran pacpl on 2 batches of DSF files (coincidentally I had just downloaded 2 CDs that came in this format), and it worked flawlessly. Will it make any difference if run from a script or using the GUI scripts ? The conversion backend (sub convert) will be the same. no matter the interface, or perhaps I'm missing something.

     

    Last edit: Paulo Marcel Coelho Aragão 2018-05-22
  • Philip Lyons

    Philip Lyons - 2018-07-22
    • status: accepted --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB