Skip to main content

Questions tagged [sox]

SoX (Sound eXchange) is a computer program for audio manipulation

0 votes
1 answer
152 views

Want to record a radio broadcast into separated files. receiver | sox -traw -r8k -es -b16 -c1 - -b16 -es -c1 -r48000 -t wav ~/myfolder/$(date +%H_%M_%S).wav silence 1 0.10 0.1% 1 1 0.1% : newfile : ...
Oleg M's user avatar
  • 3
2 votes
2 answers
446 views

I am using sox for creating synth with 100ms, this is my command: /usr/bin/sox -V -r 44100 -n -b 64 -c 1 file.wav synth 0.1 sine 200 vol -2.0dB Now when I create 3 sine wave files and combine all ...
iceget's user avatar
  • 23
1 vote
0 answers
123 views

I have 32bit .wav files with around 6 channels, segmented into chunks of 2.15GB. I want to merge the files sequentially, retaining the individual channels. I would assume something like: ffmpeg -f ...
EURSCVA MembroFoto's user avatar
0 votes
1 answer
844 views

I have MP3 files on which I need to perform some audio operations, then get them back to MP3. I know every operation degrades them a little bit, so my goal is just to minimize that. I need to use both ...
GraniteStateColin's user avatar
1 vote
1 answer
2k views

I've installed SoX (https://sox.sourceforge.net/) in order to be able to process microphone input via node. I'm trying the most basic settings, for example, recording from the default audio device ...
Tom Auger's user avatar
  • 1,714
0 votes
0 answers
180 views

I have the following workflow which is typically executed on a set of provided audio files (can be MP3 files, as assumed in this example, but also different formats): file000.mp3 file001.mp3 ... What ...
user415275's user avatar
0 votes
1 answer
118 views

I have a pipe module with the command pactl load-module module-pipe-source source_name=VirtualMic file=/tmp/virtualmic format=wav rate=44100 channels=2 I want to use SoX to play a sound file into it. ...
beefox's user avatar
  • 1
0 votes
1 answer
1k views

If you convert using sox, it adds a comment to the metadata: $ soxi audio.wav Input File : 'audio.wav' Channels : 1 Sample Rate : 48000 Precision : 24-bit Duration : 00:00:04....
qubodup's user avatar
  • 9,574
0 votes
1 answer
371 views

I have several pairs of wav files (obtained by recovering the audio from VoIP packet captures). I'd like to merge the two files down to a single-channel WAV file, which is easy with ffmpeg or sox. ...
KenD's user avatar
  • 693
1 vote
0 answers
674 views

Using sox, I am able to record 10 seconds of mono-channel audio input: rec -c 1 "/data/wav/${EPOCHSECONDS}.wav" trim 0 10 This works perfectly fine. However, I want the recording to contain ...
dirdi's user avatar
  • 3,365
0 votes
2 answers
1k views

play ~/Music/audio0.flac repeat - A command for playing a single specific audio file on repeat. play ~/Music/${random_audio_file} repeat - A pseudo command for playing a single random audio file from ...
01AutoMonkey's user avatar
2 votes
1 answer
1k views

I am trying to increase the bitrate on an mp3 in an audio archiving program written in Python, that uses SoX. Here's a portion of the code: #fullHour is a boolean DeltaSeconds = chunk['...
DRT's user avatar
  • 21
0 votes
1 answer
534 views

For all .wav files in sox-14-4-2 folder I need to remove silence at start, copy the result into an existing subfolder Output, then reverse the file, remove silence again and finally reverse again. The ...
atereou's user avatar
  • 359
2 votes
1 answer
576 views

I would like to batch process wav files in a folder: Firstly trimming the files to 5secs and placing the trimmed files in a folder called "Trim5s", then Changing the bit rate on the trimmed ...
Joe's user avatar
  • 125
1 vote
1 answer
2k views

How do I change the sample rate for every file in the folder? I have the following code and it just erases the files -- the file size becomes 0. for i in wav/*.wav; do sox -r 8000 -e unsigned -b ...
Gansaikhan Shur's user avatar

15 30 50 per page
1
2 3 4 5 6