The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
43 views

Create a video file from an audio file and add visualizations from audio

My initial thought was to upload audio files to YouTube along with video that is inspired from the audio. The particular visualization can be in different form such as spectrum, spectogram, or other ...
0
votes
0answers
12 views

Required alaw to mp3/wav convetion format in sox for ubuntu

when i try encode from a-law to wave i am getting below error sox FAIL formats: no handler for file extension `alaw' sox -t -r 8000 -e a-law -b 8 -c 1 inputfile.alaw output.wav i am using ubuntu
0
votes
0answers
16 views

How do I silence part of an audio file using sox?

I have recordings that should have sections of 30 seconds (or so) excluded from the file. Currently, we just trim those sections out: sox -V1 file.wav -e signed-integer -r 8000 -c 2 -t wav temp.wav ...
0
votes
1answer
48 views

Loop audio file to a given length

I'm currently facing an issue where I need to take some mp3 file and make another mp3 file where the first one is playing for a given amount of time, looped if needed. Preferably I'm looking for a ...
0
votes
0answers
21 views

can sox (sound exchange) remove repeated short period sound (not noise) from a track

For example, the 01.mp3 contains several dog barking which is very short at different point, and the dog barking isn't noise. I've tried the noise prof and filter, but it does't work. sox dog.wav ...
1
vote
1answer
38 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
40 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
63 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
142 views

SoX pipe operations and data loss

When piping operations using SoX, I've noticed that files get shorter than they should: Works fine: sox -n -r 44100 silence.wav trim 0 1 sox --combine sequence silence.wav combined.wav soxi -D ...
0
votes
0answers
459 views

sox FAIL formats: can't open input file '*.wav': Invalid argument

I am trying to familiarize myself with sox to do some audio processing tasks. Ultimately, I want to take all my WAV files and extract just one channel, and save them, ideally with a modified name ...
0
votes
0answers
19 views

SoX Unable to batch process more than 100 files

I'm using this: cd %~dp0 mkdir converted FOR %%A IN (%*) DO sox %%A -b 32 "converted/%%~nxA" rate -I 192000 pause If I try to drag-drop more than 100 files it simply does nothing. How might I ...
1
vote
0answers
57 views

Sox not recognised as a command in W7

I just moved from xp-32bit to W7 64bit and re-installed sox which I use to resample and create spectrogams. The batch-file cd %~dp0 mkdir converted FOR %%A IN (%*) DO sox %%A -n spectrogram -o ...
2
votes
1answer
54 views

Make SoX not show output

I'm recording with SoX, and I want to make it not show output at all. When recording, it shows this output: Input File : 'default' (waveaudio) Channels : 2 Sample Rate : 48000 Precision ...
1
vote
1answer
281 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?
2
votes
0answers
64 views

SoX fails to concatenate *some* newly generated aiff files

I have a Python script that is using Mac OS X's built in speech synthesis API to create aiff files of some processed text via PyObjC/AppKit. Everything is working fine, but I can't get the aiff files ...
0
votes
1answer
298 views

Trouble Installing SoX

I am running Mac OSX 10.8.4 and am unable to install SoX. I have almost 0 knowledge of UNIX or terminal but require SoX for an audio job. I have downloaded Sox-14.4.1 from the site. I attempt to ...
0
votes
1answer
413 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
476 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 ...
2
votes
0answers
223 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
1k 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
1answer
739 views

issue about using sox to convert wav file with parameters changing

I want to convert a wav file(11400HZ samples rate and 2 channels) to another wav file, just changing the samples rates and channel. The command I use is : sox 1.wav -r 8000 -c 1 2.wav 1.wav can ...
1
vote
0answers
419 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 ...
1
vote
1answer
1k views

How do I append a bunch of .wav files while retaining (not-zero-padded) numeric ordering?

I have many (7500) .wav files (named by their numbers) which I'd like to merge into one. I think it has to be done with a bash loop because with using globbing some files would be in the wrong order ...
0
votes
0answers
407 views

Linux - Increase volume for HD mp4 files

I am converting videos using ffmpeg. Videos are 1080p at first and I convert 1080p to h264 720p and 360p. Also if videos are 360p I`m converting them to h264 360p. The problem is when converting ...
0
votes
1answer
543 views

Can't run sox, No such file or directory

In Ubuntu 12.04 I installed sox with this command: sudo apt-get install sox Now if I use this command: sox message.wav message.flac rate 16k I get this: bash: /usr/local/bin/sox: No such file ...
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 ...
0
votes
2answers
266 views

How to run a play list with sox?

Is it possible to play a list of music files with sox? It is possible to play a file by: play song.mp3 I know I can create a batch file which includes all the files to run such as: play ...
2
votes
0answers
376 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 ...
2
votes
3answers
1k views

how to record mic input and pipe the output to another program

Hi everyone Im trying to follow a tutorial on generating truly random bits How To Generate Truly Random Bits This is the command from the tutorial but it does not work rec -c 1 -d /dev/dsp -r 8000 ...
0
votes
2answers
908 views

Run SOX batch on files in a relative folder

I have a windows batch script that runs a SOX command on various files, but I don't know how to get the batch to run on files in a relative path to that of the SOX executable. Currently all the files ...
0
votes
0answers
511 views

SoX on Windows 7 64-Bit Outfile Missing

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 ...
2
votes
2answers
826 views

script to run sox to combine multiple mono tracks to stereo

I have a folder full of .wav audio files. Some are stereo, most are mono splits. The mono split pairs are all named foo bar track.L.wav and foo bar track.R.wav I can use the command line tool sox ...
0
votes
1answer
858 views

SoX Windows 7 64-Bit

Is there a version of SoX that is compatible with 64-Bit Windows 7? Whenever i try to run "sox.exe" (or any other program in 14.4.0), all that happens is that a command prompt window opens and ...
1
vote
1answer
253 views

piping cdparanoia through play, aplay, /dev/sound, etc

Currently I am trying to use cdparanoia to play from an audio cd directly without making any temporary files. I can play the first track of a cd realtime by doing cdparanoia -e 1 /dev/shm/tmp.wav ...
0
votes
1answer
1k views

How do I install SOX on UBuntu 11.0 with all format supported packages?

I tried to install SOX ( Swiss Army knife of sound processing programs ) on Ubuntu 11.10. At first, I tried with apt-get install sox, it installed successfully but it couldn't convert wav to mp3. Then ...
1
vote
1answer
409 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 ...
25
votes
2answers
18k views

How to add a mp3 handler to sox?

I want to play music in the terminal with sox. # install sox/lame sudo apt-get install sox sudo apt-get install lame # play music play music.mp3 # play FAIL formats: no handler for file extension ...
0
votes
1answer
275 views

sox mix nested scripts on amazon ec2 rhel linux

I'm trying to use "sox" to mix some audio files. The command works great on my Mac terminal sox -m audio.wav "| sox upload.wav -p trim 2 1 pad 6" final.wav This mixes (not concatenate) audio.wav ...
1
vote
1answer
319 views

How to embed multiple audio files to one video file with timeline offset?

I have a video file: screencast.mpg (100sec) And several audio files(file name indicate offset): 10.wav (10sec) 30.wav (5sec) 45.wav (8sec) How can I combine those files together: ...
2
votes
1answer
193 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
7k 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 ...
0
votes
2answers
402 views

How to trim the first 10 seconds from a batch of mp3?

This was asked before, Mass MP3 audio file editor, but I'm wondering if things have changed by now. I'm also ok with any solution that works for any OS, and even CLI. ffmpeg doesn't do the trick (the ...
0
votes
1answer
522 views

Pipe output file into UNIX tool

I want to pipe the output file from the command line audio tool SoX into the email tool mutt. What I want to do is something akin to this: sox /Users/someUser/Desktop/input.mp3 output.mp3 | mutt -s ...
1
vote
1answer
482 views

How to specify Vorbis encoding options using `sox`?

I want to record audio encoded using Vorbis quality level 6, but how to pass the encode options to rec?
2
votes
1answer
627 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 ...
1
vote
2answers
264 views

equivalent of sox for video

I often use sox for editing audio. Is there an equivalent command line tool for editing video on Linux?