1
vote
1answer
30 views

How do I convert a batch of audio files on Windows?

I have a folder structure like this: -dir1 -subdir1 -subdir2 -file1.wav -file2.wav -dir2 -etc... Inside the folders are thousands of audio files that need to be ...
1
vote
0answers
19 views

Converting file to PCM using SoX

I am using SoX. A-Law, 8000 Hz, 64 Kbps, mono Is the format I need What I tried: input -c 1 -r 8000 output It is not working for me, please advise. I get the file output, it's just not ...
2
votes
1answer
31 views

Merging files with sox sequentially

I have seen posts where people merge multiple sound files into one outfile like: soxmix in1.wav in2.wav in3.wav out.wav. However they are all on top of each other. Is there a way to merge so that ...
1
vote
1answer
200 views

Recording mp3 on Windows 7 using SoX [duplicate]

I'd like to have a SoX one-liner that would record 1 hour of audio to mp3. I'm on Windows 7. Is this possible?
0
votes
1answer
318 views

Using sox low pass filter with jack

How do I run sox with jack so that sox takes the input from jack, does something (in my case, a low pass filter) and outputs the processed stream to jack. sox foo.wav bar.wav lowp 1000.0 Will take ...
2
votes
1answer
357 views

How to extract vocals from music using a command line software?

I know how to remove the vocals by using SoX. The command is sox source.wav mono.wav oops which means to mix stereo to twin-mono where each mono channel contains the difference between the left ...
1
vote
0answers
175 views

sox error on white macbook 1.1 no default audio device

I want to use a white macbook which purpose is recording sound with sox. I installed sox and lame via brew but when I want to record something in terminal sox -d ada.mp3 I got the following error ...
1
vote
2answers
693 views

How to convert audio file of type G.723.1 into wav format?

I have few audio files which have .wav extension. I tried to get information about this file using soxi <foo.wav> command but I got following error : soxi FAIL formats: can't open input file ...
1
vote
0answers
352 views

need to clean up audio noise using sox

What I am doing right now is recording audio from my mic using arecord and piping the raw output to VLC like so: arecord -r 8000 - | vlc -vvv - It works great, except the audio that is coming out ...
0
votes
1answer
2k views

Convert GSM audio file to G.729

How can I convert GSM sound files to G.729 format? I've used Sox in the past for transcoding sound files, but have not been able to find a way to transcode to G.729. Using Sox, I have found a way to ...
2
votes
0answers
327 views

Stream live audio with noise filter in Linux

I need to strip the noise from an audio source, but it needs to happen live. The resulting voice doesn't need to sound perfect, it just can't contain too much noise. I've read up about sox, but it ...
1
vote
1answer
355 views

how to remove clipping from audio using sox?

i am looking to use -G or -v to limit a track's volume to avoid clip. sox audio1.wav -G audio2.wav or sox audio1.wav -n stat -v 1.000 sox -v 1.000 audio1.wav audio2.wav but nothing works as ...
1
vote
1answer
162 views

Specify audio channel to write to monaural file using SoX

I am interested in using SoX as part of a transcoding workflow I'm building. I need to be able to downmix stereo audio streams to mono. More specifically, I need to be able to specify which channel to ...
7
votes
1answer
6k views

command-line utility to record from microphone

I am looking for command-line utility that monitors the microphone, and if you start to speak, writes the file. Recording period should be adjusted. Solution is: sox -t alsa default recording.wav ...
3
votes
3answers
3k views

Creating stereo file from two mono files with sox

I'm using sox 14.2.0 on Centos 6.0. I have two mono wav files, left.wav and right.wav. I need to combine them into one stereo.ogg file, with left.wav pan 80% to the left, and right.wav pan 80% to ...
2
votes
1answer
588 views

Plotting the volume of an audio file

Most applications that play sound display its volume graphically. I need that information (the sound volume as it changes over time) written to a text file so I can plot it myself and use it for ...