Hi everyone, this is my first post here. I'm new to audio conversion and I'm encountering a problem. Using the Musicbee GUI and qaac64.exe, I'm trying to convert my music collection to alac with a sample rate below or equal to 48kHz so that I can transfer it to my ipod classic. I'm currently using this set of command line options : "--ignorelength --native-resampler=bats,127 --no-optimize --alac -o [outputfile] -", added the "native-resampler" option to try and fix the problem described subsequently, I don't know what it does. This works pretty well, but when I try changing the output's sample frequency by adding the --rate option, I get errors when running the conversion from the GUI. Sadly I couldn't test this command line outside of Musicbee as I get the error "Not available input file format" when trying with a flac file (execution goes like this, from the folder containing qaac64.exe :
qaac64.exe --ignorelength --native-resampler=bats,127 --no-optimize --alac -o test.m4a -
qaac 2.80, CoreAudioToolbox 7.10.9.0
Mother.flac
.
What am I doing wrong ?
I had no time to test more files as of right now, but this seems to occur with files with a 192kHz sampling rate, in case that gives you a lead to an already encountered problem. Thanks for reading.
When you resample, qaac converts samples to float32. However, ALAC doesn't support float32.
So samples must be quantized to int16 or something when encoding to ALAC, but qaac doesn't automatically do it for you since quantizing is not a lossless process and qaac cannot pick which format you want (16bit/20bit/24bit?).
Hence, you need to explicitly specify "-b 16" or something.
Finally, --native-resampler=bats,127 is the highest quality setting for CoreAudio resampler but is slow as hell.
There's no reason to pick it over the default soxr resampler.
Alright that did the trick, thank you nu774, and merry christmas.
To convert your music collection to ALAC with a sample rate of 48kHz or lower using `qaac64.exe` through MusicBee, make sure you use the following command line:
```
--rate 48000 --ignorelength --no-optimize --alac -o [outputfile] [inputfile]
```
Ensure your input file is correctly specified and supported by `qaac64.exe`. If you encounter "Not available input file format," check that `qaac64.exe` supports your input file and that you have necessary codecs installed.