As you may know, SoX, or Sound eXchange is a command line tool used for both playing and converting audio formats in other formats. Also, it permits adding effects, record audio files on most platforms.
The latest version available is SoX 14.4.2, which brings the below changes:
- Read support for Ogg Opus files.
- Read support for RF64 WAV files.
- Deemph can now be used at 48kHz sample rates.
- Rate is now much faster in many cases.
- Support multi-channel LADSPA plugins and optional latency compensation.
- Many other bug fixes.
How to install Sox on Ubuntu and Linux Mint do:
$ sudo apt-get install sox libsox-fmt-all
Sox is the music player’s package and libsox-fmt-all is needed to enable mp3 playing on sox.
How to use sox:
Go to your music directory:
$ cd ~/Music
ls it, to see the song list (I prefer to use ls -1 for this):
$ ls -1
To play a song, type play song_name:
Use tab completion, unless you want to type for ages!!!
$ play Iron\ Maiden\ -\ Fear\ of\ the\ dark.mp3
To play all the mp3 files, type play *.mp3:
$ play *.mp3
To quit the application press Ctrl – C .
Note: if you have a lot of tracks in your music folder and play them with play *.mp3, you will need to Ctrl – C every song, in order to close the program.
Quiting Sox (after you have used play *.mp3) is actually difficult because sox is evil. Press Ctrl – Z to send the process in the background, get its PID and punch it with sudo kill -9 $PID.
Leave a Reply