Help - Search - Members - Calendar
Full Version: TAK 1.0.4 - Beta release 1
Hydrogenaudio Forums > Lossless Audio Compression > Lossless / Other Codecs
TBeck
Beta release 1 of TAK 1.0.4 ((T)om's lossless (A)udio (K)ompressor)

It consists of:

- TAK Applications 1.0.4

Winamp plugin, SDK and decoding library will come with the final release.

Download:

TAK Applications 1.0.4

containing the GUI and command line compressor:

Download link removed. TAK 1.0.4 final has been released.

What's new

New Features:

- Support for pipe decoding.

Improvements:

- Decoding speed improvements of 7 (preset 5) to 13 (preset 0) percent on my system.
- Modification of the presets -p0 and -p1 to make them even faster: -p0 is now encoding 17, -p1 10 percent faster on my system.
- I have replaced some of the Delphi libraries with own code. This will help a later translation to standard C, which can't use delphi libraries. A nice side effect: Most of the binaries are much smaller now.

Modifications:

- The read buffer used to decode presets -p0 to -p3 is considerably smaller now. In most cases this should improve the decoding speed.

Known issues:

- If you use pipe decoding and the application reading the pipe is beeing terminated before the whole file has been read, TAKC may get into an endless loop and has to be manually killed with the task manager. I don't think this is a big issue but i will try to fix it in one of the next versions. BTW: Big thanks to shnutils for testing the pipe decoding!

Beta testing

The beta version has already gone through extensive testing performed by my automatic scripts. But especially because of the many changes for 1.0.4 rare bugs are still possible (as always...). Please try the beta release and report any bugs in this thread.

I would also be happy about tests of compression efficiency and speed. Because the final release will have identical performance (there may be a speed variation of 1 to 3 percent because of different code alignment of another build), it does make sense to test the beta. Exception: If the smaller decoder read buffer does hurt performance, i will switch back to the old size.

Thanks for testing and have fun

Thomas
Laemtao
Your time and effort is appreciated as always. Thanks.
shnutils
QUOTE(TBeck @ Mar 2 2008, 22:59) *
New Features:

- Support for pipe decoding.


Consequently I've released shntool 3.0.7, which is able to decode TAK files. Thank you Thomas for your hard work!
greynol
Awesome!!! biggrin.gif

Thanks so much to both of you guys!
IgorC
Tbeck, thank you for beta release.
I noticed that the variance of bitrate per track for p0m is smaller than of FLAC 8. For example:
p0m - Min. 874 kbit/s Max 1113 kbit/s
FLAC 8 - Min 872 kbit/s Max 1117 kbit/s
For average p0m has tiny bit higher compression ratio than FLAC 8.
TBeck
QUOTE(shnutils @ Mar 3 2008, 06:10) *

QUOTE(TBeck @ Mar 2 2008, 22:59) *
New Features:

- Support for pipe decoding.


Consequently I've released shntool 3.0.7, which is able to decode TAK files. Thank you Thomas for your hard work!

You are fast! Thank you very much! rolleyes.gif

QUOTE(IgorC @ Mar 5 2008, 00:59) *

Tbeck, thank you for beta release.
I noticed that the variance of bitrate per track for p0m is smaller than of FLAC 8. For example:
p0m - Min. 874 kbit/s Max 1113 kbit/s
FLAC 8 - Min 872 kbit/s Max 1117 kbit/s
For average p0m has tiny bit higher compression ratio than FLAC 8.

Thanks for the info. Since FLAC 8 is using 12 instead of TAK -p0's 4 predictors and because especially going from 4 to 8 predictors can significantly increase the compression on some files, i am sure FLAC -8 will sometimes compress better than TAK -p0m. Possibly TAK -p1 would be a good choice for you. Decoding is only slightly slower than with -p0.

Synthetic Soul
Results for 1.0.4b1 have been added to my comparison.

CODE
          |          1.0.3b           |          1.0.4b
Setting   |        %    Enc     Dec   |        %    Enc     Dec
================================================================
TAK -p0   |  65.273%    118x    137x  |  65.803%    130x    147x
TAK -p0e  |  64.996%     91x    135x  |  65.573%    108x    146x
TAK -p0m  |  64.883%     52x    136x  |  65.455%     59x    146x
TAK -p1   |  64.728%    101x    129x  |  64.837%    107x    145x
TAK -p1e  |  64.635%     85x    129x  |  64.748%     89x    145x
TAK -p1m  |  64.529%     47x    128x  |  64.640%     50x    146x
TAK -p2   |  64.078%     63x    124x  |  64.078%     65x    128x
TAK -p2e  |  63.947%     52x    121x  |  63.947%     52x    128x
TAK -p2m  |  63.861%     32x    119x  |  63.861%     32x    128x
TAK -p3   |  63.833%     41x    111x  |  63.833%     41x    117x
TAK -p3e  |  63.767%     32x    110x  |  63.766%     33x    117x
TAK -p3m  |  63.727%     23x    110x  |  63.727%     23x    116x
TAK -p4   |  63.643%     27x    103x  |  63.643%     28x    111x
TAK -p4e  |  63.623%     17x    109x  |  63.623%     18x    111x
TAK -p4m  |  63.605%     16x    105x  |  63.604%     16x    111x
TAK -p5   |  63.576%     20x     95x  |  63.576%     20x     98x
TAK -p5e  |  63.544%     11x     97x  |  63.543%     11x    102x
TAK -p5m  |  63.525%     11x     95x  |  63.525%     11x    102x

aeroman
Thanks a lot! smile.gif
It would be interesting to know what do the others developers think about TAK ! rolleyes.gif
Come on guys n girls, so long...
Dr. Oviri
Great Thomas smile.gif
TBeck
QUOTE(Synthetic Soul @ Mar 6 2008, 19:23) *

Results for 1.0.4b1 have been added to my comparison.
...

Thank you so much!

And nice results smile.gif

Decoding got significantly faster and i think new -p0 is a nice addition for people (or applications) who (which) need ultra fast encoding.

Thomas
kanak
Thanks for the update. i converted a bunch of my older Tak files (v 1.01 stuff) to the newer format, and saved about 500 kb per file. Thank you very much for the hard work.

Here's to even stronger compression presets biggrin.gif
TBeck
If you have encountered any bugs, please report them now!

I would like to release TAK 1.0.4 final within the next days...
greynol
I'm not sure it's fair to call it a bug, but you can't pipe the output directly to crc1632.exe, though you can with flac (Monkey's Audio can't do it either). Luckily I'm only interested in a CRC32 of the raw PCM data so I use sox as an intermediary. For md5 hashes I pipe to md5sum, which works great!
shnutils
QUOTE(greynol @ Mar 9 2008, 22:41) *

I'm not sure it's fair to call it a bug, but you can't pipe the output directly to crc1632.exe, though you can with flac (Monkey's Audio can't do it either). Luckily I'm only interested in a CRC32 of the raw PCM data so I use sox as an intermediary. For md5 hashes I pipe to md5sum, which works great!

As a workaround, you can use shntool's cat mode to send the raw PCM data of any supported format to stdout:

% shntool cat -c -e file.tak | crc1632

Of course, there is also hash mode which calculates MD5 and SHA1 hashes internally. But the above command is more flexible.
greynol
I'll have to try your workaround to see which runs faster on my system.

I'm currently using:

takc -d "%1" - | sox -t wav - -t raw - | crc1632
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.