tuffy / python-audio-tools

A collection of audio handling programs which work from the command line.
http://audiotools.sourceforge.net
GNU General Public License v2.0
249 stars 58 forks source link

Feature request: option to apply a de-emphasis filter if encoding a lossless audio file with an embedded cuesheet that has tracks flagged with preemphasis #57

Open ghost opened 8 years ago

ghost commented 8 years ago

The title says it all. Would it be a desirable feature to add this to at least tracksplit? I think it seems appropriate to provide the option to undo pre-emphasis when it is known to be present. What do you think?

tuffy commented 8 years ago

This sounds like a good idea. All the cuesheet formats support a pre-emphasis flag, but I hadn't gotten around to supporting it with a proper de-emphasizing filter yet. I should also see if there's a way to handle pre-emphasis at CD extraction time, if necessary.

ghost commented 8 years ago

I was thinking you could use libsox to perform de-emphasis, assuming the 'deemph' filter is available through the library. I think the library is LGPL, but I'm not sure.