SoX on Windows 7 64-Bit Outfile Missing

Posted by Christian on Super User See other posts from Super User or by Christian
Published on 2012-10-08T20:57:24Z Indexed on 2012/10/08 21:40 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

I have come across the strangest problem when trying to run sox.exe on my Windows 7 installation. Whenever I try and record audio it works without any issues but it will not output an audio file. The crazy thing is that when I use the play command it successfully plays what I just recorded. Has anyone ever heard of this happening?

Here are the commands (and output) that I'm using:

C:\Program Files (x86)\Vox\sox-14-4-0>sox -d test.wav trim 0 00:05

Input File     : 'default' (waveaudio)
Channels       : 2
Sample Rate    : 48000
Precision      : 16-bit
Sample Encoding: 16-bit Signed Integer PCM

In:0.00% 00:00:05.03 [00:00:00.00] Out:240k  [      |      ]        Clip:0
Done.

C:\Program Files (x86)\Vox\sox-14-4-0>play test.wav

test.wav:

 File Size: 960k      Bit Rate: 1.54M
  Encoding: Signed PCM
  Channels: 2 @ 16-bit
Samplerate: 48000Hz
Replaygain: off
  Duration: 00:00:05.00

In:100%  00:00:05.00 [00:00:00.00] Out:240k  [      |      ]        Clip:0
Done.

Am I losing my mind or is something up here?

© Super User or respective owner

Related posts about windows-7

Related posts about 64-bit