French mathematician Fabrice Bellard, who once founded the QEMU, FFmpeg, BPG, QuickJS, TinyGL, and TinyCC projects, has published the TSAC audio encoding format and accompanying tools for compressing and unpacking audio files. The format is designed for data transmission at very low bitrates, for instance, 5.5 kb/s for mono and 7.5 kb/s for stereo, while maintaining acceptable quality for music and speech. Using TSAC allows packing a 3.5-minute music piece at a 44.1 kHz sampling rate (stereo) into a file sized 192 KB, which will be almost indistinguishable from the original to the untrained ear. The project's code is distributed under the MIT license.
The foundation for creating TSAC is based on the Descript audio codec, which has been extended to support stereo sound and converted to use a different machine learning model based on a 'transformer' neural network architecture, allowing for increased compression by reconstructing lost details in accordance with the model of human auditory perception. The model occupies about 200 MB in compressed form and is presented in a deterministic representation that guarantees the same result regardless of the CPUs/GPUs used and the number of threads involved in the calculations.
The encoder can work using only the CPU for computations (AVX2 instructions are supported for acceleration), but to achieve high performance, it is recommended to use the GPU. In its current form, CUDA API can be employed for acceleration using NVIDIA GPUs based on Ampere, ADA, and Hopper microarchitectures (RTX 3090, RTX 4090, RTX A6000, A100, and H100), which have at least 4 GB of video memory. FFmpeg is used to convert audio files before encoding.
Gjithashtu, vlen tĂ« theksohet pĂ«rmirĂ«simi i mjetit ts_zip, i zhvilluar nga Bellard, i cili Ă«shtĂ« projektuar pĂ«r kompresimin efektiv tĂ« tĂ« dhĂ«nave tekstuale, duke pĂ«rdorur mekanizmin e parashikimit tĂ« tokeneve tĂ« bazuar nĂ« njĂ« sistem tĂ« mĂ«simit tĂ« makinerisĂ« dhe modelin e gjuhĂ«s sĂ« madhe RWKV 169M v4. GjatĂ« kompresimit tĂ« arkivĂ«s sĂ« Wikipedias, mjeti ts_zip arriti tĂ« kompresojĂ« tĂ« dhĂ«nat me 7.3 herĂ«, ndĂ«rsa gjatĂ« kompresimit tĂ« kodit tĂ« kernelit Linux 1.2, me 7.8 herĂ«. NĂ« krahasim, nivelet e kompresimit duke pĂ«rdorur mjetin xz ishin 4.7 dhe 5.5 herĂ«, pĂ«rkatĂ«sisht. Ămimi i efikasitetit tĂ« lartĂ« tĂ« kompresimit Ă«shtĂ« shpejtĂ«sia e ulĂ«t e kompresimit dhe kĂ«rkesat e mĂ«dha pĂ«r burime (minimumi 4 GB RAM). NĂ« njĂ« sistem me GPU RTX 4090, performanca e kompresimit Ă«shtĂ« afĂ«rsisht 1 MB/s.
Burimi: opennet.ru
