On Jun 07 05:59:48, martinw...@gmail.com wrote:
> On 6/6/24 23:42, Jan Stary wrote:
> > > > > > The header <speex/speex_types.h>, included in speexdsp.c,
> > > > > > in not even installed by speexdsp; this file is installed
> > > > > > by speex, and is irrelevant to the speexdsp effect.
> > > > > 
> > > > > In fact
> > > > >       speexenc audio.wav audio.spx
> > > > >       sox audio.spx audio2.wav
> > > > > says
> > > > >       sox FAIL formats: no handler for file extension `spx'
> > > > 
> > > > That has nothing to do with the above.
> > > > 
> > > > The speex _format_, as in https://speex.org/,
> > > > is not supported by SoX at all.
> > 
> > > That surprises me.
> > 
> > That can only surprise you if you haven't read soxformat(7),
> I see no mention of speex but a zillion other rare formats and I thought one
> objective of sox was supposed to be to convert files that we have in strange
> formats to something we can use.

There is a number of _ancient_ formats supported by SoX.
If you are using the Ensoniq Paris II, like people did in 1998,
SoX will play the *.paf files for you? What use is it now?

> Stamping out speex format won't stamp out
> people who happen to have or receive files in speex format.

When is the last time you needed to read or write a *.spx file?
If the authors themselves say "use opus instead",
why would SoX implement support for it?

> > > or just not yet like M4A?
> > 
> > m4a _was_ kinda supported at one point, via calling ffmpeg.
> > That is long gone, thank god.
> 
> Again, m4a files exist and are common, so are you saying that sox should not
> be able to read them?

Nobody stops you from writing a m4a encoder and decoder.

> Idem WMA format,

Oh, you have that too? Cool.

> so at present people need a range of
> tools, sox and ffmpeg and sndfile-* (or sox -t sndfile) to be able to read
> different formats,

Right, instead of SoX implementing everything.
FLAC files can include a jpeg of the album cover?
Does SoX extarct it for you? No, you need a separate tool.

> which seems the opposite of what sox was supposed to do,
> but it looks like our views differ on this point.

Namely, read and write all audio formats that exist? No.

As a side note, this was a thread about speexdsp header files.
Now we're at this again. Please stop.

> I tried to use sox to process a large archive
> of recordings and ended up with:

[skipped 70 lines of guessing audio formats,
some of them not supported by sox]

> and that's without the M4A runes yet. Sox disapponted me here.

You should probably turn to something else then.



_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to