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.1 Beta released (Read 26594 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

TAK 1.0.1 Beta released

(T)om's lossless (A)udio (K)ompressor.

Download

The beta can be downloaded from the upload section: TAK 1.0.1 Beta

Warning

This is a public beta release of TAK. Although the preceeding releases have been evaluated by a lot of testers, there may still be bugs left.

What's new

Features:

- Some speed optimizations of encoder and decoder. Depending on the preset and your cpu you may see improvements of 2 to 10 percent (if your hard disk is fast enough). Most affected: Encoding and decoding of presets Turbo and Fast, decoding of presets High and Extra.
- Removed the access to internal encoder options. Reintroduced the additional evaluation level EXTRA as compensation.
- Added a dynamic comparison table to illustrate the effect of presets and evaluation levels on compression efficiency, encoding and decoding speed.
- Added a meta data structure to hold encoder version, preset and evaluation level used for compression. Because of rounding errors the addition of this handful of bytes can cause 0.01 percent worse compression be reported (compared to TAK 1.0).
- Added a new command to show selected information about a compressed file.
- The command line version now indicates errors via the exit code. I always thought i already had done this...
- Even better error tolerance of the decoder.

Fixed:

- GUI: When compressing/decompressing the selection of a drives root directory as user specified output destination caused an error.
- It was theoretically possible, that when decoding some verify or source io errors had not been reported properly.

What i would like you to do

- Report possible bugs.
- Tell me, if you like the new features.
- Speed comparisons with TAK 1.0. Because of TAK's high speed and the small speed improvements you will need a very fast disk io system to get valid results.

Have fun!

  Thomas

TAK 1.0.1 Beta released

Reply #1
Test file: Poets of the Fall - King of Fools

Code: [Select]
Preset        |   TAK 1.0   |   TAK 1.0.1 Beta   |    Compression
--------------+-------------+--------------------+----------------
Turbo         |      127 x  |             133 x  |        72,55 %
Turbo   +Max  |     46,6 x  |            49,2 x  |        72,25 %
Fast          |       93 x  |              97 x  |        72,00 %
Fast    +Max  |     35,6 x  |            36,7 x  |        71,73 %
Normal        |       60 x  |              61 x  |        71,68 %
Normal  +Max  |     29,4 x  |            30,2 x  |        71,61 %
High          |       36 x  |            36,2 x  |        71,57 %
High    +Max  |     17,6 x  |            17,8 x  |        71,50 %
Extra         |     21,7 x  |            21,9 x  |        71,41 %
Extra   +Max  |     7,37 x  |            7,44 x  |        71,36 %
--------------+-------------+--------------------+---------------
FLAC 1.1.4 -8 |     22,4 x  |                    |        73,41 %

Test performed on AMD Athlon XP 2800+ (2083 MHz) using a RAM drive to bypass the disk I/O system.[/font]
[/font]
Nothing is impossible if you don't need to do it yourself.

TAK 1.0.1 Beta released

Reply #2
...
Test performed on AMD Athlon XP 2800+ (2083 MHz) using a RAM drive to bypass the disk I/O system.

Thank you!

Well, 5 percent faster encoding for Turbo and Fast is ok. It's about the average of the results i have received so far. If i remember it right, the biggest improvements have been measured on an Athlon 64 and an XEON.

Could you please also test TURBO+EXTRA and FAST+EXTRA? I am really interested into their performance.

  Thomas

BTW: How do you setup a ramdisk under Windows XP (if that's your OS)?

TAK 1.0.1 Beta released

Reply #3
50 Cent - High All The Time
Code: [Select]
 
50 Cent - High All The Time          Half-Life - Credits & Closing Theme

Preset  | T 1.0 | 1.0.1 | Ratio      Preset  | T 1.0 | 1.0.1 | Ratio
----------------------------------   ----------------------------------    
Turbo   | 89.37 | 82.52 | 64.24 %    Turbo   | 88.01 | 81.63 | 68.24 %
Fast    | 59.77 | 56.34 | 63.70 %    Fast    | 59.82 | 55.53 | 68.11 %
Normal  | 36.83 | 35.51 | 63.30 %    Normal  | 37.52 | 35.80 | 67.66 %
High    | 22.38 | 21.88 | 63.17 %    High    | 22.50 | 21.84 | 67.60 %
Extra   | 14.37 | 14.12 | 63.09 %    Extra   | 14.19 | 13.89 | 67.59 %
Extra+  |  5.37 |  5.34 | 63.01 %    Extra   |  5.20 |  5.17 | 67.47 %
                                     With Max

                                     Same song with Extra
                                    
                                     Turbo           | 52.07 | 67.79 %
                                     Fast            | 41.09 | 67.67 %
                                     Normal          | 23.26 | 67.66 %
                                     High            | 12.75 | 67.59 %
                                     Extra           |  6.72 | 67.56 %

P4 2.0 GHz using Test mode, I have 756 MB SDRAM and hard drive spins at 5,400
On both of these songs the original encoder is faster every time.
[span style=\'font-size:8pt;line-height:100%\']"We will restore chaos"-Bush on Iraq[/span]

TAK 1.0.1 Beta released

Reply #4
P4 2.0 GHz using Test mode, I have 756 MB SDRAM and hard drive spins at 5,400
On this song, the only one I tested, it's faster for higher compression, but slower on low compression.

Thank you!

The implementation of the test mode is different for V1.0 and V1.0.1. V1.0.1 does a bit more, what can make it slower.

But it's also true, that TAK's optimizations generally don't work very well on a P4. When using the encoding mode, you may see an improvement of about only 1 to 2 percent for Turbo and Fast.

TAK's assembler optimizations don't like the P4's very long latencies for the excecution of even some of the simpliest operations. Currently i don't plan to implement an extra code path for the P4, because it's a dying technology; the newer intel cpu's should work very well for TAK (as does the P3).

  Thomas

TAK 1.0.1 Beta released

Reply #5
Suggestion:

Since one of the presets is called "Extra" (-P4), i think it'd be less confusing if the extra evaluation level is renamed to something else.

TAK 1.0.1 Beta released

Reply #6
Suggestion:

Since one of the presets is called "Extra" (-P4), i think it'd be less confusing if the extra evaluation level is renamed to something else.

You are right, but unfortunately i have no good idea for a replacement.

The meaning of "Extra" fits perfectly: This evaluation level provides you this (little) extra bit of compression...


TAK 1.0.1 Beta released

Reply #8
How do you setup a ramdisk under Windows XP (if that's your OS)?

AR-Soft Ramdisk (discontinued, but freeware)

I'll test the Extra evaluations tonight when I have more time than now. I'll also test the same file on my Pentium M 735 notebook.
Nothing is impossible if you don't need to do it yourself.

TAK 1.0.1 Beta released

Reply #9
This is a silly little thing, certainly not a bug, but I thought I'd mention it.  In the decoding options screen of the GUI there is an option to save the error log.  Well, the word error is misspelled.  For some reason I kind of like it spelled as "errror".  It looks cool.  Maybe I shouldn't have said anything. 

TAK 1.0.1 Beta released

Reply #10
Thanks for the release Tom, now with a foobar plugin TAK can really be useful to me
Allegari nihil et allegatum non probare, paria sunt.

TAK 1.0.1 Beta released

Reply #11
Could you please also test TURBO+EXTRA and FAST+EXTRA? I am really interested into their performance.

Same file, same test setup.

Code: [Select]
Turbo  +Extra:   100x   72,36%
Fast   +Extra:  70,7x   71,82%
Normal +Extra:  38,7x   71,67%
High   +Extra:  21,7x   71,55%
Extra  +Extra:  11,8x   71,38%


[/font]The Pentium M results will follow soon.
[/font]
Nothing is impossible if you don't need to do it yourself.

TAK 1.0.1 Beta released

Reply #12
Suggestion:

Since one of the presets is called "Extra" (-P4), i think it'd be less confusing if the extra evaluation level is renamed to something else.

You are right, but unfortunately i have no good idea for a replacement.

The meaning of "Extra" fits perfectly: This evaluation level provides you this (little) extra bit of compression...
What if we replace the preset instead, to "Ultra" ?

So we have:

Turbo
Turbo  +Extra
Fast
Fast  +Extra
Normal
Normal +Extra
High
High  +Extra
Ultra
Ultra  +Extra

Like 7-Zip have an "Ultra" level compression

TAK 1.0.1 Beta released

Reply #13

Could you please also test TURBO+EXTRA and FAST+EXTRA? I am really interested into their performance.

Same file, same test setup.
Code: [Select]
Turbo  +Extra:   100x   72,36%
Fast   +Extra:  70,7x   71,82%
...


Thank you! Somehow i like the TURBO+EXTRA and FAST+EXTRA settings. Possibly FAST+EXTRA would have been a good alternative to the current NORMAL preset: A bit faster and nearly as strong.

Suggestion:

Since one of the presets is called "Extra" (-P4), i think it'd be less confusing if the extra evaluation level is renamed to something else.

You are right, but unfortunately i have no good idea for a replacement.

The meaning of "Extra" fits perfectly: This evaluation level provides you this (little) extra bit of compression...
What if we replace the preset instead, to "Ultra" ?

That's an interesting idea. Unfortunately there are some reasons against it:

1) The command line parameters had to be changed. Surprisingly i have already found some TAK guides in the web. They would be incompatible with a new preset -pU.

2) Ultra sounds very extreme. Possibly it would be a good name for the EXTRA+MAX setting, which indeed is extremely slow in comparison with other TAK modes. But EXTRA (+Standard) isn't really extreme, just a bit slower than HIGH and usually not much stronger.

TAK 1.0.1 Beta released

Reply #14
That's an interesting idea. Unfortunately there are some reasons against it:

1) The command line parameters had to be changed. Surprisingly i have already found some TAK guides in the web. They would be incompatible with a new preset -pU.

2) Ultra sounds very extreme. Possibly it would be a good name for the EXTRA+MAX setting, which indeed is extremely slow in comparison with other TAK modes. But EXTRA (+Standard) isn't really extreme, just a bit slower than HIGH and usually not much stronger.
Drats. 

What about changing +Extra to +Enhanced?

TAK 1.0.1 Beta released

Reply #15
What about changing +Extra to +Enhanced?

That would be possible.

BTW: Regarding the naming of evaluation level you are less restricted: (S)tandard and (M)ax are reserved, because they have been already available in TAK 1.0, but the new Extra or whatever we will call it can start with any other letter.

TAK 1.0.1 Beta released

Reply #16
So, here are the test results of my notebook.

Pentium M 735, 1700 MHz, RAM drive
Code: [Select]
TAK Preset    |   1.0   | 1.0.1 beta
--------------+---------+------------
Turbo         |  110 x  |   120 x
Turbo  +Extra |   ---   |  91.5 x
Turbo  +Max   |   40 x  |  41.8 x
Fast          | 82.5 x  |  87.7 x
Fast   +Extra |   ---   |  64.7 x
Fast   +Max   | 30.7 x  |    32 x
Normal        | 53.2 x  |  55.5 x
Normal +Extra |   ---   |  35.6 x
Normal +Max   | 25.6 x  |  26.4 x
High          | 33.6 x  |    35 x
High   +Extra |   ---   |  20.7 x
High   +Max   | 15.9 x  |  16.2 x
Extra         | 19.7 x  |  20.2 x
Extra  +Extra |   ---   |    11 x
Extra  +Max   | 6.47 x  |  6.64 x
--------------+----------------------
FLAC 1.1.4 -8 | 18.1 x
Nothing is impossible if you don't need to do it yourself.

TAK 1.0.1 Beta released

Reply #17
So, here are the test results of my notebook.

Pentium M 735, 1700 MHz, RAM drive
Code: [Select]
TAK Preset    |   1.0   | 1.0.1 beta
--------------+---------+------------
Turbo         |  110 x  |   120 x
Turbo  +Extra |   ---   |  91.5 x
Turbo  +Max   |   40 x  |  41.8 x
...
--------------+----------------------
FLAC 1.1.4 -8 | 18.1 x

Thank you again!

This lightens me, because it confirms, that my statement about up to 10 percent faster encoding was right...

TAK 1.0.1 Beta released

Reply #18

What about changing +Extra to +Enhanced?

That would be possible.

BTW: Regarding the naming of evaluation level you are less restricted: (S)tandard and (M)ax are reserved, because they have been already available in TAK 1.0, but the new Extra or whatever we will call it can start with any other letter.


Tbeck, i think you should consider shifting to just numbers and NOT giving presets names. Reasons:

1. If you add more presets in the future, you don't have to bother thinking of new names 
2. Having two names for the same thing only creates confusion: why call it "Extra" when the switch is -p4? Let's just call it setting 4. Also, it isn't exactly intuitive that the Extra setting is activated by the -4 switch, but ANYONE can figure out that the -4 switch is for the -4 compression strength.
3. And while we're at it, let's shift to a wavpack style system for the extra evaluations. i.e. Extra evaluation becomes -x1, Max evaluation becomes -x2. Any future extra evaluation routine becomes -x3 and so on.

So basically, this is a the mixture of the Flac (-0,-1...) system and the Wavpack system (-x1, -x2)

TAK 1.0.1 Beta released

Reply #19
Hm, what's about the new dynamic comparison table in the encoder options dialog?

Is it understandable, how it works? I know, the documentation in the Readme could be improved.

The idea was to give new users an idea about the effect of the Preset+Evaluation level settings on compression efficiency, encoding and decoding speed.

TAK 1.0.1 Beta released

Reply #20
Hm, what's about the new dynamic comparison table in the encoder options dialog?

I like it because of the simple access to the different encoding presets, though I must admit the efficiency columns are a bit confusing at first. I often catch myself confusing the values with compression ratios. The speed values, on the other hand, are very useful.
Nothing is impossible if you don't need to do it yourself.

TAK 1.0.1 Beta released

Reply #21
I very much agree with Silversight.  The speed portion of the table is very useful, but the efficiency portion is confusing and not really useful.  If a new user sees the Turbo mode as having 0% efficiency, does that mean it doesn't compress at all?  If the difference between two modes is 38%, does that mean the stronger mode will be 38% smaller?

I've read the documentation, so I understand what you were trying to accomplish, but the efficiency numbers still don't mean much because I don't know what sort of compression differences you saw on your test corpus.

I think it would be more useful if the table just showed relative compression rates.  Whatever row is selected is the baseline, and then the stronger settings will be .4% or whatever and the weaker modes will be -.4% and such.

TAK 1.0.1 Beta released

Reply #22
Any chance of adding APE2 tagging support? So we don't need to rely on 3d party apps...

TAK 1.0.1 Beta released

Reply #23
This is a silly little thing, certainly not a bug, but I thought I'd mention it.  In the decoding options screen of the GUI there is an option to save the error log.  Well, the word error is misspelled.  For some reason I kind of like it spelled as "errror".  It looks cool.  Maybe I shouldn't have said anything. 

One "errror" less in the final release, i am sorry 



What about changing +Extra to +Enhanced?

That would be possible.

BTW: Regarding the naming of evaluation level you are less restricted: (S)tandard and (M)ax are reserved, because they have been already available in TAK 1.0, but the new Extra or whatever we will call it can start with any other letter.


Tbeck, i think you should consider shifting to just numbers and NOT giving presets names. Reasons:

1. If you add more presets in the future, you don't have to bother thinking of new names 
2. Having two names for the same thing only creates confusion: why call it "Extra" when the switch is -p4? Let's just call it setting 4. Also, it isn't exactly intuitive that the Extra setting is activated by the -4 switch, but ANYONE can figure out that the -4 switch is for the -4 compression strength.
3. And while we're at it, let's shift to a wavpack style system for the extra evaluations. i.e. Extra evaluation becomes -x1, Max evaluation becomes -x2. Any future extra evaluation routine becomes -x3 and so on.

So basically, this is a the mixture of the Flac (-0,-1...) system and the Wavpack system (-x1, -x2)

(Integer) numbers have a disadvantage: You can not insert something in between later (like the new evaluation level extra between standard and max). With letters it's possible, at least if you find an appropriate name. But i don't intend to add any more options, 5 * 3 is already quite much. There may be one exception:

The addition of a (secret) maximum compression level. There are some internal options in the encoder, which i never exposed. Possibly they could add 0.05 to 0.10 percent better compression, but encoding would be unbelievable slow... No other compressor i know would be slower. But this special feature would deserve a separate switch, maybe:

Code: [Select]
  -WellYouThoughtYourNewPcIsFastEnough 
or
  -SeeYouNextWeek


I think it's too late to switch to an incompatible preset option system. Possibly i will later add another (maybe number based) one as alternative.

Hm, what's about the new dynamic comparison table in the encoder options dialog?

I like it because of the simple access to the different encoding presets, though I must admit the efficiency columns are a bit confusing at first. I often catch myself confusing the values with compression ratios. The speed values, on the other hand, are very useful.


I very much agree with Silversight.  The speed portion of the table is very useful, but the efficiency portion is confusing and not really useful.  If a new user sees the Turbo mode as having 0% efficiency, does that mean it doesn't compress at all?  If the difference between two modes is 38%, does that mean the stronger mode will be 38% smaller?

I've read the documentation, so I understand what you were trying to accomplish, but the efficiency numbers still don't mean much because I don't know what sort of compression differences you saw on your test corpus.

I think it would be more useful if the table just showed relative compression rates.  Whatever row is selected is the baseline, and then the stronger settings will be .4% or whatever and the weaker modes will be -.4% and such.

You are right. Probably i will go back to relative compression rates. The first (internal) version was using them, but i myself and some hydrogen members feared, that newbies would take such values as guaranteed and would keep on telling me that i should correct the table or even call me a liar.

Possibly this dialog really needs a HELP button wich shows some short explaination or warning to avoid such trouble.

TAK 1.0.1 Beta released

Reply #24
Any chance of adding APE2 tagging support? So we don't need to rely on 3d party apps...

In the readme you can find my to do list, sorted by current priority. The top items are:

  - Tag writing functions for the TAK applications.
  - Unicode support.

As i wrote in some other posts, i plan to add tag writing function to the applications with the next release. I prefer to extend TAK's functionality step by step: Add something, let it be tested, if it works perform the next step.