new results
Intel Xeon W-2145 (skylake)(Q3 2017), 3.70 GHz, 8 cores / 16 threads possible, Win10, SSD
binary settings ratio enc decode
------ --------- ------ ----- ------
2.3.0 -p4m -tn4 52.56 % 236.04 614.41
2.3.1b -p4m -tn4 52.56 % 340.85 698.34
2.3.1b -p4m -tn8 52.56 % 575.82 697.55
AMD PhenomII X4 960T BlackEdition (anno 2011), 3.0 GHz, 6 threads, Win7 64bit, SSD
binary settings ratio enc decode
------ --------- ------ ----- ------
2.3.0 -p4m -tn4 52.56 % 99.50 391.07
2.3.1b -p4m -tn4 52.56 % 142.69 456.39
2.3.1b -p4m -tn6 52.56 % 181.52 456.25
Thomas, great job !
I wrote myself an autoit-script (.au3) to easily collect the results, the content normally shown at the cmd-prompt.
The idea is to have all stuff in 1 simple TEST-folder and save the results. There are some must-haves regarding the directory-structure and stuff needed. The directory-name itself should not contain any white spaces, so keep it simple then it's a no-brainer.
You HAVE TO make COPIES of your wav-files and DON'T use EXISTING directories. CREATE a NEW directory for TESTING (as the scripts deletes ALL .tak-files witihn your used music-directory).
See attachment or
#cs ----------------------------------------------------------------------------
AutoIt: https://www.autoitscript.com
Author: sPeziFisH
Script
Function:
run 2 different TAK-Binaries (the CLI-version 'takc') and save the results of the command-windows as .txt (meant as log-file)
with each run a seprate directory with log-files is created
Name:
TAK_HA.au3
#ce ----------------------------------------------------------------------------
#include <AutoItConstants.au3>
;directory-name (next to this script) containing copies of wav-files - your music-file-set to test TAK with
Local $dir_music = @ScriptDir & "\" & "wav-music" ; <<< CHANGE if neccessary
;TAK-Version 1
Local $dir_tak = "TAK_2.3.0"
;TAK-Version 2 - the test/beta-version
Local $dir_tak_test = "TAK_2.3.1_Beta_1"
;Location of takc within TAK-dir
Local $dir_takc = "\Applications\takc"
Local $dir_tak_full = @ScriptDir & "\" & $dir_tak & $dir_takc
Local $dir_tak_test_full = @ScriptDir & "\" & $dir_tak_test & $dir_takc
;MsgBox(0, "info",@ScriptDir)
;preset (encoding)
Local $preset[13]
$preset[12] = "-p4m" ; <<< CHANGE if neccessary
;further parameter-set
Local $params = " -tn4 -cpuSSSE3 " ; <<< CHANGE if neccessary
;further parameter-set test/beta-version
Local $params_test = " -tn6 -cpuSSSE3 " ; <<< CHANGE if neccessary
;create directory nearby script containing the txt-files
;name-sheme year-month-day hour.minute.sec (eg. 2018-04-06 19.50.22)
Local $dir_name = @ScriptDir & "\" & @YEAR & "-" & @MON & "-" & @MDAY & " " & @HOUR & "." & @MIN & "." & @SEC
DirCreate($dir_name)
;complete cmd incl. pipe
$cmd_enc_tak = @ComSpec & " /c " & $dir_tak_full & " -e " & $preset[12] & $params & '"' & $dir_music & "\*" & '"'
$cmd_enc_tak = $cmd_enc_tak & " > " & '"' & $dir_name & "\" & $dir_tak & "_enc_" & $preset[12] & ".txt" & '"' ;pipe
$cmd_enc_tak_test = @ComSpec & " /c " & $dir_tak_test_full & " -e " & $preset[12] & $params_test & '"' & $dir_music & "\*" & '"'
$cmd_enc_tak_test = $cmd_enc_tak_test & " > " & '"' & $dir_name & "\" & $dir_tak_test & "_enc_" & $preset[12] & ".txt" & '"' ;pipe
;MsgBox(0, "info", $cmd_enc_tak_test)
$cmd_dec_tak = @ComSpec & " /c " & $dir_tak_full & " -t " & '"' & $dir_music & "\*" & '"'
$cmd_dec_tak = $cmd_dec_tak & " > " & '"' & $dir_name & "\" & $dir_tak & "_dec.txt" & '"' ;pipe
$cmd_dec_tak_test = @ComSpec & " /c " & $dir_tak_test_full & " -t " & '"' & $dir_music & "\*" & '"'
$cmd_dec_tak_test = $cmd_dec_tak_test & " > " & '"' & $dir_name & "\" & $dir_tak_test & "_dec.txt" & '"' ;pipe
;MsgBox(0, "Info", "existing .tak-files get deleted")
FileDelete($dir_music & "\*.tak")
sleep(2000)
;MsgBox(0, "Info", "next: " & $dir_tak_test)
RunWait($cmd_enc_tak_test) ;encoding/compression
sleep(1000)
RunWait($cmd_dec_tak_test) ;decoding/decompression
sleep(1000)
;MsgBox(0, "Info", "existing .tak-files get deleted")
FileDelete($dir_music & "\*.tak")
sleep(2000)
;MsgBox(0, "Info", "next: " & $dir_tak)
RunWait($cmd_enc_tak) ;encoding/compression
sleep(1000)
RunWait($cmd_dec_tak) ;decoding/decompression
sleep(1000)
MsgBox(0, "Info", "finished !")