I'm happy to announce another bleeding edge interim git release,
three days before we start another endless cycle of release candidates
on the 18th.

The area that have sustained the most damage since the last +git is MPEG audio.

It now knows the difference between MP1, MP2 and MP3, and sndfile
decoding and encoding of these. Only encoding to MP2 with sndfile
doesn't work, but it uses twolame too, so no great loss.
Its mp3 encoding gets the length right though and decoding uses
libmpg123 instead of MAD so may give different quality results
and be able to decode broken files that MAD chokes on or gets wrong.
If MP2s not made by Twolame are rare, MP1 files are like hens' teeth;
I've put those I could find up under http://nartinwguy/test
and one of the MP1s even contains a cover art image.

Like the last +git, you should also be able to
* adjust MP2's variable bit rate encoding using -C from -10 to +10
* encode audio with more than two channels to MP2 and MP3;
  it should mix them down to stereo instead of failing;
* encode to MP2 with a sample rate below 16kHz;
  it should automatically resample to 16kHz instead of failing.

It has gained new dithering filter shapes from SSRC so there is now
dither -f shibata-A0 to -B6 for two alternate Lowest Threshold of Hearing
curves at seven severities, mostly for output at 44100 and 48000Hz only but
with A0 to A2 at 88k, 96k and 192kHz and shibaba-A-saturated at 8, 11 and 22
only. Thanks to danadam for most of this work; I only added the other rates
and hope I got them right. Details and graphs at Naoki Shibata's
https://shibatch.org/ssrc and danadam's excruciatingly precise test graphs at
https://codeberg.org/sox_ng/sox_ng/issues/493

Another thing that would enjoy testing is the new `saturation` effect
that makes "from subtle warmth to crunchy fuzz" applying a sqrt, tanh or diode
soft clipping function at adjustable severities. Hats off to akwizgran.
The only major mod I made to the original pull request was to convert it
from doubles to floats internally, which made it 40% faster and the results
before and after differ nowhere more than one sample value in a few places
at 16-bit and at 24.

It should also now die when you hit Ctrl-C when it's reading from stdin,
from a pipe or reading an m3u playlist containing URLs instead of just
sitting there staring at you and --version is SoX_ng v14.6.1+git20251115
instead of claiming to be 14.6.1.

Thanks to the numerous new bug reports, of which the strangest is
synth immediately followed by reverb outputting 10dB quieter than normal.
The cause is unknown but the workaround is to insert "gain 0" between them.
If anyone fancies having a look at this there is now
https://codeberg.org/sox_ng/sox_ng/wiki/Mult on what SOX_EFF_GAIN seems to do
and how the gain -h ... gain -r automatic gain compensation seems to work.
If anyone knows more about this area of SoX internals, do correct me.

All other user-visible changes since 14.6.1 are listed on
https://codeberg.org/sox_ng/sox_ng/releases

Looking forward to knowing where it's broken and any other pending
new features or fixes that are ready but that I've forgotten about,
I give you the

```
md5sums:
4577ed4c80cebc85f91e846f42135ae3  sox_ng-14.6.1+git20251115.tar.gz
8c6a3ec9d88a2a8558e4786f8b45ef75  sox_ng-14.6.1+git20251115.zip
c0dcca7fb1d2440d2c37f600e4570a40  sox_ng-14.6.1+git20251115-win32-exe.zip
6604c5ae0cc0b576b01e736006a36fcb  sox_ng-14.6.1+git20251115-win64-exe.zip
sha256sums:
0eca9de5169524b4b079ed3c7389b19de857a969362d3ea528f934f569f39daa
sox_ng-14.6.1+git20251115.tar.gz
1b95b59613784226c0e564bdb957a4ea54e82590f66e5329e84f6ccc63087780
sox_ng-14.6.1+git20251115.zip
f56d84be27bf9a120c65d2a6234d82f1f72984b93eacc7a3587951a09f11b2d2
sox_ng-14.6.1+git20251115-win32-exe.zip
8d5990314e3439319b5d8ad4fccc2eb57efc4a2d16a6d4395dbc499670ff9cb9
sox_ng-14.6.1+git20251115-win64-exe.zip
```

and appreciate the gentle tolerance of occasional craziness.

    M
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82): https://groups.io/g/sox-ng/message/82
Mute This Topic: https://groups.io/mt/116306475/21656
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/sox-ng/leave/13602885/21656/313486934/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to