... Maybe "-f" for FLAC and "-w" for WavPack? I am a fan of simplistic command lines with single character switches (if possible - and this is not going to be *too* complex......)....
Fine, however - for definiteness and greater clarity - what about -<format-extension> like -flac or -wv as the optimization option?
... I'll start on the wavread / wavwrite implementations tonight. ...
Oh.. I forgot that. I can transcode my Euphoria reading and writing of wav files to Delphi.Can do it this weekend if you can wait for that.
 May have found viable FFT / CONVOL routines - TPMAT036 - certainly look promising, and free! Available at http://www.unilim.fr/pages_perso/jean.debo...math/tpmath.htm [/edit]
I'm just playing round with the bibilolo sample from recent 64 kbps listening test.As it's a bandwidth testing sample I wanted to find out whether or not my 32 kHz resampling does have an audible effect for me with this sample. However what I found was much more of concern: it's a very problematic sample for wavPack lossy, for instance at sec. 17.2-19.2.So it may be worth while testing with this preprocessor. Nick.C., do you mind processing it?AlexB showed me it's sample 3 from Gabriel's samples for an 48 kbps AAC test:http://www.mp3-tech.org/tests/aac_48/samples/.
@echo offset lossyWAV_path="c:\data_nic\_wav\lossyWAV.exe"set flac_path="c:\program files\flac\flac.exe"%lossyWAV_path% %1 "%~D1%~P1%~N1.ss.wav"%flac_path% -8 -f -b 1024 -o"%~D1%~P1%~N2%~X2" "%~D1%~P1%~N1.ss.wav"del "%~D1%~P1%~N1.ss.wav"set lossyWAV_path=set flac_path=
.WAV 59317484 Same Thing -org.wav 1411 org.FLA 31141612 Same Thing -1.flac 741 org.FLA 29462093 Same Thing -8.flac 701 org.FLA 13009242 Same Thing -lf.flac 309 flossy.FLA 20282435 Same Thing shi.flac 482 32 kHz samplerate
If you have any test samples which you'd like encoded properly with the MATLAB version, just post them here.Cheers,David.
For resampling I suggest to use ssrc_hp with the --twopass option (to avoid clipping).
I intend to carry out some side-by-side testing to allow codec-block-by-codec-block checking of the bits_to_remove for each analysis fft_length - to see if the Delphi version matches the Matlab version.
...I intend to carry out some side-by-side testing to allow codec-block-by-codec-block checking of the bits_to_remove for each analysis fft_length - to see if the Delphi version matches the Matlab version. ...
Anyway, I recall that my gallery of 150 samples is still online and if something must go wrong with this kind of PCM processor this collection may help to find it.