IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
SoX 14.4.0 - the Swiss Army knife of sound processing programs
ZinCh
post Mar 5 2012, 17:17
Post #1





Group: Members
Posts: 173
Joined: 28-September 06
Member No.: 35705



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.

This post has been edited by db1989: Apr 12 2012, 21:47
Reason for edit: moving links so they appear on Portal
Go to the top of the page
+Quote Post
ZinCh
post Feb 2 2013, 08:52
Post #2





Group: Members
Posts: 173
Joined: 28-September 06
Member No.: 35705



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

Links: download / changelog

CODE
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)
Go to the top of the page
+Quote Post
lvqcl
post Feb 2 2013, 16:01
Post #3





Group: Developer
Posts: 3563
Joined: 2-December 07
Member No.: 49183



Debug info was not stripped from sox.exe
Go to the top of the page
+Quote Post
romor
post Feb 2 2013, 18:13
Post #4





Group: Members
Posts: 711
Joined: 16-January 09
Member No.: 65630



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.


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
romor
post Feb 3 2013, 18:19
Post #5





Group: Members
Posts: 711
Joined: 16-January 09
Member No.: 65630



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


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
chi
post Feb 10 2013, 17:02
Post #6





Group: Members
Posts: 45
Joined: 27-November 11
Member No.: 95439



QUOTE (romor @ Feb 3 2013, 18:19) *
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.
Go to the top of the page
+Quote Post
ZinCh
post Mar 9 2013, 21:36
Post #7





Group: Members
Posts: 173
Joined: 28-September 06
Member No.: 35705



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 ("Chris Bagwell")
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
Go to the top of the page
+Quote Post
romor
post Mar 12 2013, 23:55
Post #8





Group: Members
Posts: 711
Joined: 16-January 09
Member No.: 65630



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"


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
zaza
post May 25 2013, 20:12
Post #9





Group: Members
Posts: 1
Joined: 25-May 13
Member No.: 108326



QUOTE (ZinCh @ Mar 5 2012, 18:17) *
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?
Go to the top of the page
+Quote Post
phofman
post May 26 2013, 07:06
Post #10





Group: Members
Posts: 357
Joined: 14-February 12
Member No.: 97162



http://downloads.sourceforge.net/project/s...4.4.1-win32.exe
Go to the top of the page
+Quote Post
LigH
post Mar 24 2014, 23:55
Post #11





Group: Members
Posts: 167
Joined: 20-November 01
Member No.: 503



QUOTE (romor @ Mar 12 2013, 23:55) *
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.


--------------------
http://forum.gleitz.info - das deutsche doom9/Gleitz-Forum
Go to the top of the page
+Quote Post
LigH
post Mar 25 2014, 08:58
Post #12





Group: Members
Posts: 167
Joined: 20-November 01
Member No.: 503



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


--------------------
http://forum.gleitz.info - das deutsche doom9/Gleitz-Forum
Go to the top of the page
+Quote Post
phofman
post Mar 25 2014, 09:44
Post #13





Group: Members
Posts: 357
Joined: 14-February 12
Member No.: 97162



QUOTE (LigH @ Mar 25 2014, 00:55) *
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 :-)

This post has been edited by phofman: Mar 25 2014, 09:44
Go to the top of the page
+Quote Post
LigH
post Mar 25 2014, 21:24
Post #14





Group: Members
Posts: 167
Joined: 20-November 01
Member No.: 503



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


--------------------
http://forum.gleitz.info - das deutsche doom9/Gleitz-Forum
Go to the top of the page
+Quote Post
LigH
post Apr 3 2014, 14:53
Post #15





Group: Members
Posts: 167
Joined: 20-November 01
Member No.: 503



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?


--------------------
http://forum.gleitz.info - das deutsche doom9/Gleitz-Forum
Go to the top of the page
+Quote Post
LigH
post Apr 4 2014, 11:49
Post #16





Group: Members
Posts: 167
Joined: 20-November 01
Member No.: 503



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.

This post has been edited by LigH: Apr 4 2014, 11:50


--------------------
http://forum.gleitz.info - das deutsche doom9/Gleitz-Forum
Go to the top of the page
+Quote Post
LigH
post Apr 8 2014, 09:53
Post #17





Group: Members
Posts: 167
Joined: 20-November 01
Member No.: 503



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

CODE
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.

This post has been edited by LigH: Apr 8 2014, 10:00


--------------------
http://forum.gleitz.info - das deutsche doom9/Gleitz-Forum
Go to the top of the page
+Quote Post
Brazil2
post Feb 23 2015, 19:34
Post #18





Group: Members
Posts: 164
Joined: 9-May 10
Member No.: 80499



SoX 14.4.2 released:
http://sourceforge.net/projects/sox/files/sox/14.4.2/

Main site:
http://sox.sourceforge.net
Go to the top of the page
+Quote Post
themanintheshado...
post Feb 23 2015, 22:58
Post #19





Group: Members
Posts: 35
Joined: 31-October 12
Member No.: 104212



Changelog:

CODE
$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)
Go to the top of the page
+Quote Post
ZinCh
post Feb 24 2015, 09:24
Post #20





Group: Members
Posts: 173
Joined: 28-September 06
Member No.: 35705



QUOTE (LigH @ Mar 25 2014, 23:24) *
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 ?

This post has been edited by ZinCh: Feb 24 2015, 10:11
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 5th March 2015 - 17:47