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: TAK 1.0.4 - Beta release 1 (Read 13959 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

TAK 1.0.4 - Beta release 1

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

TAK 1.0.4 - Beta release 1

Reply #1
Your time and effort is appreciated as always.  Thanks.

TAK 1.0.4 - Beta release 1

Reply #2
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!


TAK 1.0.4 - Beta release 1

Reply #4
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.

TAK 1.0.4 - Beta release 1

Reply #5
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! 

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.

TAK 1.0.4 - Beta release 1

Reply #6
Results for 1.0.4b1 have been added to my comparison.

Code: [Select]
          |          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
I'm on a horse.

TAK 1.0.4 - Beta release 1

Reply #7
Thanks a lot! 
It would be interesting to know what do the others developers think about TAK ! 
Come on guys n girls, so long...

TAK 1.0.4 - Beta release 1

Reply #8
Great Thomas 

TAK 1.0.4 - Beta release 1

Reply #9
Results for 1.0.4b1 have been added to my comparison.
...

Thank you so much!

And nice results 

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

  Thomas

TAK 1.0.4 - Beta release 1

Reply #10
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 

TAK 1.0.4 - Beta release 1

Reply #11
If you have encountered any bugs, please report them now!

I would like to release TAK 1.0.4 final within the next days...

TAK 1.0.4 - Beta release 1

Reply #12
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!

TAK 1.0.4 - Beta release 1

Reply #13
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.