jniemann66 / ReSampler

High quality command-line audio sample rate converter
GNU Lesser General Public License v2.1
160 stars 26 forks source link

Conversion is using very few cores #43

Open tramchamploo opened 1 month ago

tramchamploo commented 1 month ago

Compiled with g++ -pthread -std=c++11 main.cpp ReSampler.cpp conversioninfo.cpp -lfftw3 -lsndfile -o ReSampler -O3 -DUSE_AVX -DUSE_FMA -mavx -mfma linux 6.10.12-amd64 cmd: ReSampler --doubleprecision --flacCompression 8 \ --relaxedLPF --mt --multiStage -r 384000 -i /dev/shm/convert-b.wav -o "$dir/surround/${f%.*}.flac" -b 24 \ --dither 4 --ns 6 --quantize-bits 20 --seed xxx

tramchamploo commented 1 month ago

Another problem is Clipping detected occurs multiple times. Latter ones adjust gain very little, maybe it's a rounding error. When it happens, output file is truncated.