Menu

#240 Recommended compand has syntax error

open
nobody
None
5
2014-10-30
2013-10-14
Tom Epperly
No

The documentation here:
http://sox.sourceforge.net/sox.html
suggests using
sox asz.wav asz-car.wav compand 0.3,1 6:−70,−60,−20 −5 −90 0.2
to reduce dynamic range for listening in a car.

When I try this command:
faerun:/tmp> sox 01_overture__prologue.mp3 over.mp3 compand 0.3,1 6:−70,−60,−20 −5 −90 0.2
sox FAIL compandt: syntax error trying to read transfer function value
faerun:/tmp>
I get the syntax error.

Discussion

  • Tom Epperly

    Tom Epperly - 2013-10-14

    faerun:/tmp> sox --version
    sox: SoX v14.4.1

    This is on a Debian unstable system.

     
  • robs

    robs - 2014-10-30

    This is a ASCII vs. unicode issue: sox currently requires hyphens for minus-signs.

    Possibilities: fix the HTML man page to use hyphens; use a unicode-aware sscanf.

     

Log in to post a comment.