The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
18 views

Generating a long sound file with SOX without actually playing the tone

I know how to play a tone for a specific amount of time using SOX. play -n synth 5 sin 347 I know how to save a tone using SOX. sox -n note.mp3 synth 5 sin 347 Question is : How can I save a ...
1
vote
1answer
17 views

Create SOX batch script to extract first 15 seconds and rename multiple files in folder

I have a folder with several MP3 files that I need to extract 10-15 seconds of audio from. I would also like to rename these by appending sample-(name).mp3 to the converted files. How can I do this ...
1
vote
1answer
18 views

How to create the spectrogram of many audio files efficiently with Sox?

I have a bunch of audio files and I would like to create the spectrogram for each individual file using Sox. Usually, for a single file, I do this: sox audiofile.flac -n spectrogram However I don't ...
1
vote
0answers
87 views

How to use sox or ffmpeg to detect silence intervals in a long audio file and replace them by zeros (aka suppress background noise)?

I have a long audio file that was created by concatenating many short files. I would like to detect silence between the speech segments (just a threshold is enough for my purposes) and replace them by ...
1
vote
0answers
62 views

Playback and simultaneous recording through external USB sound card

I've an external USB sound card (in my case it's a TerraTec Aureon 7.1 USB). I've looped the earphone-out to the line-in using a 3.5mm jack cable. I'm interested in starting the playback of a MP2 ...
0
votes
1answer
100 views

Unix - Addressing filename with space for script [duplicate]

I have files Deep.flac and A1 - Rolling In The Deep.flac I wrote the script below, however it can only work with Deep.flac It cannot seem to work with filenames with spaces. I am newbie, learning ...
2
votes
1answer
136 views

Play a sound file slower or faster

How can you play a sound slower or faster? That would be useful for listening carefully one audio passage or to listen fast forward to find a concrete passage. Is there something with the play sox ...
1
vote
1answer
84 views

Play last few seconds of mp3

Is there any way to play last N seconds of an mp3 file on bash commandline?
0
votes
0answers
95 views

Cannot build sox with FLAC support

I'm trying to configure and build sox v14.4.1 with FLAC support enabled, on Ubuntu. I have downloaded and installed flac and done an sudo ldconfig (just in case the libs were wrongly linked), but ...
1
vote
0answers
62 views

SOX script to recognise special pattern

Is it possible to define SOX script that would recognize a pattern having short broadcast followed by a very short pause and then again short broadcast? This would happen when someone presses tangent ...
2
votes
2answers
231 views

How to add an audio file to a shell script

How can I add an audio file (OGG vorbis) into a shell script making the script as small as possible and at the same time being able to execute it on as most systems as possible? I want the audio file ...
7
votes
1answer
788 views

sox: splitting audio on silence but leaving tails

I love how sox has the ability to split an audio file on silence. The issue I'm haivng is that occasionally my audio tracks end with fadeouts, or notes decaying into reverb (subtle sounds that sox ...
2
votes
1answer
525 views

Piping Sox and FFMPEG together

I'm processing a variety of audio files in a bunch of different formats and I'd like to unify their format and configuration using FFMPEG and SoX. There are two steps to my process: Convert the ...
3
votes
1answer
3k views

sox returns an error when I try to handle mp3 files

Hello so here is the deal, I used: $ yum install sox To install it in CentOS 6. After that I did a quick test: $ sox test.mp3 test.amr and this is what it returns: $ sox formats: no handler ...
1
vote
0answers
14 views

sox returns an error when I try to handle mp3 files [duplicate]

Hello so here is the deal, I used : yum install sox (to install it in centos 6) then after that did a quick test: [root@s17069267 ~]# sox test.mp3 test.amr and this is what it returns: sox ...
1
vote
2answers
219 views

adding additional tracks using sox and the command line

I'm trying to add additional tracks using sox using the command line Example: I have several different stereo tracks a drum track, vocal track, effects track, etc. Can I add additional stereo tracks ...
1
vote
1answer
285 views

sox segmentation fault

My attempt to record sound with sox on Raspberry PI fails: pi@raspberrypi ~/tmp $ rec new.wav Segmentation fault And so does play: pi@raspberrypi ~/tmp $ play test.wav Segmentation fault Yet it ...
8
votes
3answers
4k views

End sox recording once silence is detected

I'm writing a script that uses sox to record me talking. Now I need sox to wait until it detects sound before it begins recording, and I do have that figured out. But I also need sox to exit once ...
4
votes
1answer
3k views

pipe the output of parec to sox

sox is probably the one linux program that continues to frustrate me. At the same time, I am awed by what it can do, and I'd like to get close to being fluent in it, if not mastering it. Today, I've ...
4
votes
2answers
561 views

Why do 'nohup' and 'disown' not work on SoX (invoked as 'play')

I can run this command: $ play mylist.m3u And music plays. I can then press Ctrl-Z to suspend the job, and issue bg to have it run in the background. However, if I then run disown and exit, the ...
4
votes
3answers
7k views

What and how is the encoding of a raw (headerless) audio file?

I have done this: me@riverbrain:~/sgf$ echo "test" | text2wave -otype raw -F 16000 >> test.raw which produced a headerless audio file. The wonderful thing about this file is that it can be ...