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: TSAC: Very Low Bitrate Audio Compression (Read 37804 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: TSAC: Very Low Bitrate Audio Compression

Reply #50
However, containing low-quality audio in a small space is not enough to convince audiophiles. I'm one of them and surely if I could I would increase the bitrate a lot for an acceptable quality.

Yeah, it would be great to augment the quality of the Transformer model with a traditional Opus-style PVQ encoder.

Re: TSAC: Very Low Bitrate Audio Compression

Reply #51
Take a look at the Meta mLow codec. The effect is similar, and it also has low requirements. It would be good to do some comparison of these codecs.

Re: TSAC: Very Low Bitrate Audio Compression

Reply #52
Lower modes of TSAC from -q 1 to -q 4 are only useful for memes. Of course -q 1 is the worst, it ruins anything you try to encode :P. Above -q 4 TSAC starts slowly to became decent  ;). I'm not sure about how affect the quality to use the -s option (for encode channels separately). Apparently this is just for have a more continuous scale of quality, and be slightly more efficient. As the quality scale is 1-9 for mono or separate stereo, 1-12 for joint stereo...
Although, quality still is (being kind) trash  :))

The encoder doesn't allow anything that isn't 44.1KHz... I just would want to try another sample rates  :(.
Speed of encoding/decoding was around 4 times slower than realtime using the max number of threads on the VM with Windows 7 where I make the tests... stereo is obviously slower than mono. Ah, and verbose option of the codec isn't as useful as it could be for track (de)coding progress (I'm not saying that it's useless).

Okay... below here is a zip file with some samples extracted from various songs. There are the "original" samples, the tiny TSAC files and the decoded result. I had to compress the WAV files with TAK so as not to exceed the 30 MB limit.

Re: TSAC: Very Low Bitrate Audio Compression

Reply #53
Take a look at the Meta mLow codec. The effect is similar, and it also has low requirements. It would be good to do some comparison of these codecs.
There's no code, so there's no comparison possible.
::)

Re: TSAC: Very Low Bitrate Audio Compression

Reply #54
The encoder doesn't allow anything that isn't 44.1KHz... I just would want to try another sample rates  :(.
And it doesn't support 24-bit nor 32-bit/64-bit floating-point sample format as an input iirc, so for @fab7, are there benefits of supporting 24-bit (or even floating-point) samples and additionally allowing 48kHz (or even 96kHz) sampling rate for TSAC AI-powered lossy codec?

Re: TSAC: Very Low Bitrate Audio Compression

Reply #55
Apparently this is just for have a more continuous scale of quality, and be slightly more efficient.
I meant that about default joint-stereo  :)
I guess that further than that there's not much difference compared to separate channels.

Re: TSAC: Very Low Bitrate Audio Compression

Reply #56
Here's a ZIP file with a sample of Odetari - Keep Up encoded to 5 different quality levels.
-q 1 - Sounds the most metallic. Ouch! More like for a meme than for a actual piece of work.
-q 3 - Metallic, but it's higher quality. You can hear the vocals and drums pretty well (but the vocals are sounding like a elderly)
-q 6 - Sounds cleaner. More like the original, including the vocals and the drums, especially at the first seconds.
-q 9 - Also sounds cleaner. Still sounds pretty metallic, but it's pretty good at least.
-q 12 - Still sounds quite a bit metallic, but it's good quality.
Included also the TSAC files and the original sample.

Re: TSAC: Very Low Bitrate Audio Compression

Reply #57
It sounds like an AI actually replicating the original audio. This doesn't sound like compression. Am i right?

Re: TSAC: Very Low Bitrate Audio Compression

Reply #58
Tried with USAC at 12 kbps. Resulting file is twice bigger but there's maybe a mp4 overhead on such short samples.
USAC sounds better to my ears—especially at the end of the sample with seems more complex than the beginning. But it's impressive at such low size/bitrate (7,5 kbps?) at least on this sample.
Wavpack Hybrid -c4hx6

Re: TSAC: Very Low Bitrate Audio Compression

Reply #59
 ::)

Okay...  :P


By the way, there's a 'new' (not so new, but quite unknown) AI codec, SNAC.
It seems to be better than DAC(TSAC) and Meta's EnCodec (there are some samples here).

I've been thinking on make a new thread about it, but maybe it's better that some of you start it after looking at the SNAC page in github and the paper.

About how to use it... idk, it's a very techincal thing.  :(

Re: TSAC: Very Low Bitrate Audio Compression

Reply #60
Ah, and if it's interesting, here's Opus CELT stereo at 12 kbps, encoded with the native ffmpeg opus encoder, as it's the only able to make stereo at such low bitrate (though the stereo in this sample is a bit weak anyways). Opusenc 12kbps in this test was the same audio for both stereo channels, practically being mono.