#149 sox hangs when downsampling by 2


A strange problem in my system: when I try to downsample a wav file by a factor of two,
sox hangs (high cpu load, nothing writen to the output)
Eg. assuming a.wav has 44100Hz rate, this command hangs
sox a.wav b.wav rate 22050
The problem does not seem to appear with other conversion. It also works ok if I
chain the resampling as
sox a.wav b.wav rate 36000 rate 22050

The problem seems independent of file size.

My setup: sox 14.3.0 , windows XP SP3, Spanish Lang, Pentium IV. I checked that no other cygwin dll is in the path.
Strangely, the problem does not happen in another computer with winXP SP3 in english.


  • Ulrich Klauer

    Ulrich Klauer - 2011-10-10

    Do you still have this problem? It seems to work for everybody else, since converting e.g. from 88.2k to 44.1k or from 96k to 48k is quite a common task.

    If it persists, could you use some sort of debugger to find out where exactly the endless loop is?

  • Ulrich Klauer

    Ulrich Klauer - 2011-10-10
    • status: open --> pending
  • leonbloy

    leonbloy - 2011-10-10
    • status: pending --> open
  • leonbloy

    leonbloy - 2011-10-10

    Sorry, I don't have that environment now.

  • Ulrich Klauer

    Ulrich Klauer - 2011-10-10

    OK, closing then. Thanks for replying!

  • Ulrich Klauer

    Ulrich Klauer - 2011-10-10
    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks