Live data from Hacker News

TSAC: Low Bitrate Audio Compression

bellard.org

1–10 of 101 posts

Re: TSAC: Low Bitrate Audio Compression

#3
This is quite similar to the models used by all the AI music generators. Some feed the tokens into a language model to generate music, some replace the tokenization part with an alternative that gives a continuous representation for diffusion models.

Re: TSAC: Low Bitrate Audio Compression

#5

Are there standard-ish codec comparison processes that we can run to see how much perceived fidelity is lost in compression here?

Perceptual codecs must almost by definition be perceived. So the “standard” comparison is an ABX listening test.

Re: TSAC: Low Bitrate Audio Compression

#6
if you patch out the CRC check in the binary with

echo -ne "\x90\x90" | dd if=/dev/stdin of=tsac bs=1 seek=23914 conv=notrunc

you can corrupt the compressed files with very interesting results: https://meow.social/@mimir/112238998609778334

the fast mode (you don't have to patch the binary for this one, it seems to not do the CRC check?) and the normal (non-fast) mode sound different, but both quite interesting

Re: TSAC: Low Bitrate Audio Compression

#7
Clicked the download link wanting to take a look at the source... and was a bit perplexed before quickly canceling it. 237MB, compressed, for an audio codec!? At that point one can't help but think that the samples are already in the decoder itself.

I wonder how it compares to https://en.wikipedia.org/wiki/Codec2 and related codecs, which go even lower for bitrate.

Re: TSAC: Low Bitrate Audio Compression

#8

if you patch out the CRC check in the binary with echo -ne "\x90\x90" | dd if=/dev/stdin of=tsac bs=1 seek=23914 conv=notrunc you can corrupt the compressed files with very interesting results: https://meow.social/@mimir/112238998609778334 the fast mode (you don't have to patch the binary for this one, it seems to not do the CRC check?) and the normal (non-fast) mode sound different, but both quite interesting

The voices in my head speak in MP3 to MIDI...

Re: TSAC: Low Bitrate Audio Compression

#10

Clicked the download link wanting to take a look at the source... and was a bit perplexed before quickly canceling it. 237MB, compressed , for an audio codec!? At that point one can't help but think that the samples are already in the decoder itself. I wonder how it compares to https://en.wikipedia.org/wiki/Codec2 and related codecs, which go even lower for bitrate.

The difference is that Codec2 encodes audio at 8 kHz sampling rate while this TSAC codec encodes audio at 44.1 kHz, which makes a pretty big difference in terms of audio fidelity.
Post reply on HN