Re: SoX version (was recording specific channels)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello David,

On Jun 11 21:19:07, D.Cottle@xxxxxxxx wrote:
> Hi all,
> 
> You may recall a thread a while back (Recording Specific Channels). I had to drop it at the time, but I’m digging in again. The last suggestion was to update to a more recent version, which I’ve tried, but now I’m just as confused.
> 
> 
>   *   I asked our tech staff to an install of a more recent version. He said got a number of errors, but wasn’t specific. I dropped it.
>   *   After getting the email from Jan, Call for Testers, I had them prepare an install that version.
>   *   They were able to do it (and they use a self-service install program, a protocol I more or less have to follow).
>   *   Using their self-service I installed it on my laptop and a machine at school. That worked, but when I run it (simply type “sox”) the top line still says SoX 14.4.2. That’s the same version as I was using, “nine years old.”

if you installed the version from
https://github.com/janstary/sox/tree/build
then that's as recent as yesterday.

The string "14.4.2" only means I didn't bother to change it
as this effort of mine is still pretty far from a release.

With this change:


diff --git a/sox.h b/sox.h
index 0642261b..ccea9ccd 100644
--- a/sox.h
+++ b/sox.h
@@ -264,7 +264,7 @@ The API version of the sox.h file. It is not meant to follow the version
 number of SoX but it has historically. Please do not count on
 SOX_LIB_VERSION_CODE staying in sync with the libSoX version.
 */
-#define SOX_LIB_VERSION_CODE   SOX_LIB_VERSION(14, 4, 2)
+#define SOX_LIB_VERSION_CODE   SOX_LIB_VERSION(15, 0, 0)
 
 /**
 Client API:



SoX will present itself as "15.0.0" but will be the same.
It's just a number, a nametag you can change.


If you installed from https://git.code.sf.net/p/sox/code
which is the official master branch (which I am working on top of),
you will get code as of 2024-05-30, the latest commit there.


>   I follow this link<https://sourceforge.net/projects/sox/>
> which says last update is 2024-06-04.

If you click on that, you will see that's when I posted
a comment announcing my branch. That comment is the "update"
SF is talking about, not any new code.

> I downloaded that file, uncompressed,
> at it also says sox-14.4.2, Feb 22, 2015.

That means you downloaded the latest release.
There is no newer one, because SoX is not being properly maintained.
Downstream packagers and end users have been mainly using the git repo
recently, tired of waiting for another release.

For example, OpenBSD builds it audio/sox package
http://cvsweb.openbsd.org/ports/audio/sox/Makefile
on top of a commit of 2021-05-09 so that's what you get
when you 'pkg_add sox' on OpenBSD. Your OS might do
something similar, so you might noit need to do this yourself.

Do I remember right you are on macOS?
macOS itself has no infrastructure for packaging
third-party software (as do the BSDs and Linuxes),
but there is MacPorts, and they have a version of SoX

https://www.macports.org/
https://github.com/macports/macports-ports/tree/master/audio/sox
- but that's apparantly just a slight tweak of 14.4.2.

That being said, it is not very hard to build from source.

> So now I’m confused. Where can I get a more recent copy?

https://git.code.sf.net/p/sox/code holds the latest code
in the "official" branch of SoX at SourceForge.

https://github.com/janstary/sox/tree/build holds the latest code
of my forked effort to resurrect SoX after a decade.


	Jan


Once you get that working, do come back with the music school
recordings, that was a pretty interesting use case.



_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux