Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: SoX 14.4.0 - the Swiss Army knife of sound processing programs (Read 41889 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

SoX 14.4.0 - the Swiss Army knife of sound processing programs

SoX 14.4.0 was released on 4th March, 1 year after previous version.

Links: download / changelog

Highlights include:
- Add floating point encodings in AIFF-C files.
- New upsample, hilbert, and downsample effects.
- Enable --plot on biquad and fir effects.
- Now effects chain can be unlimitted length.
- Improved audio length calculations when using effects.
- New trim effect with enhanced capabilities.
- Improved large file support.
- MP2 write support.

SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files.

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #1
SoX 14.4.1 was released today, 11 months after previous version.

Links: download / changelog

Code: [Select]
sox-14.4.1    20xx-xx-xx
----------

Newly deprecated features (to be removed in future):

  Deprec-  Feature    [O(ption)]                           Removal
  ated in  [F(ormat)] [E(ffect)]   Replacement             due after
  -------  ----------------------  ----------------------  -------
  14.4.1   OpenMP < 3.0            OpenMP >= 3.0           14.4.1
  14.4.1   F ffmpeg                ffmpeg/avconf via pipe  14.4.1

File formats:

  o Fix pipe file-type detection regression. (robs)
  o MAUD write fixes. [3507927] (Carl Eric Codere and Ulrich Klauer)
  o Fix crash when seeking within a FLAC file. [3476843] (Eric Wong)
  o Fix Ogg Vorbis files with certain numbers of channels being
    truncated. (Ulrich Klauer)
  o Fix reading 64-bit float WAVs. [3481510] (nu774 and Ulrich Klauer)
  o Fix potential buffer overrun when writing FLAC files directly via
    sox_write(). [3474924] (Eric Wong)

Audio device drivers:

  o Check whether pulseaudio is available before choosing it as
    default. (robs)

Effects:

  o Restore 8 seconds default for spectrogram, if the input length is
    not known. (Ulrich Klauer)
  o Set output length for splice to unknown instead of 0. (Ulrich Klauer)
  o Increase maximum width for spectrograms. (Ulrich Klauer)
  o Fix memory leaks in LADSPA effect. (Eric Wong)
  o Fix hang in several effects (rate, tempo, and those based on
    dft_filter) when processing long files. [3592482, 3594822] (MrMod)

Other bug fixes:

  o Fix input length calculation for combine methods other than
    concatenate. (Ulrich Klauer)
  o Fix to configure.ac to work with Autoconf 2.69. [3600293] (cbagwell)

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #2
Debug info was not stripped from sox.exe

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #3
I understand why MP3 decoding is left for user to compile, but curious why FLAC isn't supported by default (at least for Windows binary)?
Vorbis is, for example.

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #4
I downloaded previous SoX version, as I wasn't sure if I build it previously from source or used binary provided, and it seems it was later:



So fellow HA user, before downloading, review that some formats are dropped from latest SoX Windows binary, probably by mistake

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #5
So fellow HA user, before downloading, review that some formats are dropped from latest SoX Windows binary, probably by mistake


You are right, dropping flac and the formats provided by libsndfile wasn’t intented. We are looking into this, and there may be a new Windows build in a few days’ time.

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #6
sox-14.4.1a-win32.exe
sox-14.4.1a-win32.zip

http://sourceforge.net/projects/sox/files/sox/14.4.1/

©

http://sourceforge.net/mailarchive/message...msg_id=30580178

Quote
I've just uploaded sox-14.4.1a-win32 packages to Sourceforge.  If I get
some positive feedback on it, I'll make it recommended download version for
Windows platform and delete the original sox-14.4.1-win32 packages.

Chris

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #7
flac decodes fine, if that's what's expected as positive feedback. Other formats, which seem like libsndfile dependent, aren't reported as supported nor I personally use them.

Switch that's not present in 14.4.1 is "--multi-threaded"

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #8
SoX 14.4.0 was released on 4th March, 1 year after previous version.

Links: download / changelog

Highlights include:
- Add floating point encodings in AIFF-C files.
- New upsample, hilbert, and downsample effects.
- Enable --plot on biquad and fir effects.
- Now effects chain can be unlimitted length.
- Improved audio length calculations when using effects.
- New trim effect with enhanced capabilities.
- Improved large file support.
- MP2 write support.

SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files.


Hi Zinch,

I am interested in this utility as I need to convert a couple of files.

However once on sourceforge website I click on sox-14.4.0-win32.exe and a new page opens but nothing happens.

Am I missing something?


SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #10
Other formats, which seem like libsndfile dependent, aren't reported as supported nor I personally use them.

But there are people who would have a use for e.g. W64 to exchange movie-long multi-channel audio (possibly >4 GB) with other supporting tools. Is there anyone who builds SoX with libsndfile as Win32 or even Win64 package? Hard to find with Google, there are many only halfway related results.

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #11
Version 14.4.0 supports W64. So you have to decide between file format support and effect support...

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #12
But there are people who would have a use for e.g. W64 to exchange movie-long multi-channel audio (possibly >4 GB) with other supporting tools. Is there anyone who builds SoX with libsndfile as Win32 or even Win64 package? Hard to find with Google, there are many only halfway related results.


According to http://stackoverflow.com/questions/1830211...bit-with-cygwin the cygwin sox should use libsndfile if the library package is installed in cygwin. Perhaps it may not require any recompilation at all, just installing the packages which is point&click operation.

As a bonus you get the great scripting environment of cygwin bash, incomparable to the windows cmd :-)

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #13
It appears that the media-autobuild_suite (german thread) is trying to include a full-featured build of SoX from current sources.

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #14
The media-autobuild_suite creates (among a heap of other tools) a SoX version 14.4.2 for Win32 and Win64 with support for several optional formats, including W64, and the multi-threaded option. Might be an incentive for some people with a software archive?

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #15
Replying here on an "on-topic PM" (writing PMs about issues which interest many and may not be solvable by one person exclusively is quite a bad habit):

MP3 (= MPEG-1 Audio Layer 3) is a raw audio stream.

MP4 is a container.

SoX is not made for splitting every format of containers and searching for the pieces of audio streams in them. Use a container format specific demultiplexer to extract them before processing them.

The MP4 container may contain different kinds of audio streams, like MPEG-1/2 Audio Layer 1/2/3 or MPEG-2/4 AAC. Depending on the decoders SoX contains, it may be able to decode them or not; but most probably only as elementary audio streams.

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #16
To handle audio streams from within container formats SoX alone can't split, the following snippet may help you a little further:

Code: [Select]
ffmpeg -i inputfilename -f sox - | sox -p outputfilename


Add other related parameters on your own.

Do not use ffmpeg to create MP4 files. The result will probably be incomplete. MP4Box or L-SMASH are renowned MP4 multiplexers.


SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #18
Changelog:

Code: [Select]
$ox-14.4.2    2015-02-22
----------

Previously deprecated features that have been removed in this release:

  Deprec-  Feature    [O(ption)]
  ated in  [F(ormat)] [E(ffect)]   Replacement
  -------  ----------------------  ----------------------
  14.3.0   O -1/-2/-3/-4/-8        -b
  14.3.0   O -s/-u/-f              -e
  14.3.0   O -A/-U/-o/-i/-a/-g     -e
  14.4.0   E swap with parameters  remix
  14.4.0   E mixer                 remix
  14.4.1   OpenMP < 3.0            OpenMP >= 3.0
  14.4.1   F ffmpeg                ffmpeg/avconv via pipe

File formats:

  o Add optional support for reading Ogg Opus files. (John Stumpo)
  o Fix for max size text chunks in aiff files. (cbagwell)
  o Add reading support for RF64 WAV files. (Dave Lambley)
  o Work around for libsndfile created RF64 files with invalid
    sizes. (Dave Lambley)
  o Detect MS ADPCM WAV files with invalid blocks. (cbagwell)
  o Detect Sphere files with invalid header sizes. (cbagwell)

Effects:

  o 'Deemph' can now also be used at 48kHz sample rate.  (robs)
  o 'Rate' now much faster in many cases.  (robs)
  o Allow sending spectrograms to stdout. (Ulrich Klauer)
  o Allow use of Dolph window with spectrograms. (robs)
  o Allow mixing time and sample-count arguments for the delay
    effect, and for spectrogram -S and -d. (Ulrich Klauer)
  o Support multi-channel LADSPA plugins. (Eric Wong)
  o Support infinite repetition with repeat. (Ulrich Klauer)
  o Improved pink noise frequency response in synth. (robs)
  o Extended syntax for specifying audio positions to several
    effects. (Ulrich Klauer)
  o Fix integer overflow in mcompand. [3590093] (Guido Aulisi)
  o Add optional latency compenstation for LADSPA plugins. (Eric Wong)

Other new features:

  o New -p option for soxi to display sample precision. (Ulrich Klauer)
  o New libsox example6: give explicit output attributes. (robs)

Internal improvements:

  o Speed optimization for effects that operate on channels
    independently. (Ulrich Klauer)
  o Fix memory leaks. (Ulrich Klauer)
  o Most internal symbols (lsx_*) are no longer exported. (Ulrich Klauer)
ghostman

 

SoX 14.4.0 - the Swiss Army knife of sound processing programs

Reply #19
It appears that the media-autobuild_suite (german thread) is trying to include a full-featured build of SoX from current sources.

Are those binaries available to download somewhere ? Their main website host script, may be someone like RareWares compile them ?