I tested with REW using AAC, MP3 and Vorbis codecs (qaac, neroaac, mp3lame, libvorbis) at high quality settings with 48kHz, 64kHz and 96kHz sample rates (powershell script attached).
1) Sweeps
a. Generate REW mono measurement sweep from 20Hz to 36000Hz and save to 32bit 352kHz pcm wav including timing references.
b. Resample with sox to target sample rates 48kHz, 64kHz, 96kHz using high quality settings.
c. Encode with mp3, qaac, neroaac, vorbis at high quality settings i.e. mp3lame cbr 320, qaac tvbr 127, neroaac q1, vorbis q10.
d. Resample the results with sox to 32bit 352kHz pcm wav using high quality settings.
e. Load into REW as measurement sweeps.
2) White Noise
a. Generate REW full range white noise and save to 32bit 352kHz pcm wav.
b. Load into REW as RTA measurement taking the peak reading.
The Sweep distortion results on the original file seem to show a limitation of 24bit processing with readings at about 148dB and better i.e. 144dB SNR from 24bits and ~6dB from noise shaping.
Sweeps indicate that MP3 has very low distortion at 0.0035 (89dB) but the white noise check shows that MP3 makes use of adjacent frequencies unlike other codecs which vary the original frequencies slightly up or down.
For me the best option is Nero AAC 96kHz with a distortion peak of 0.02 (74dB) at ~1222Hz (the peak seems like a design choice as the remainder is considerably lower). Nero AAC 64Khz isn't that much different though.
LDAC comparison is problematic. One method is playing the measurement sweep file to a BT receiver which sends an optical output to a PC and saving to file. The sender would use 24bits 96Khz 990kbps LDAC and maybe 32bits 48kHz or other combos. Another way would be using the github libraries ldacenc and libldacdec.
1) Sweeps
a. Generate REW mono measurement sweep from 20Hz to 36000Hz and save to 32bit 352kHz pcm wav including timing references.
b. Resample with sox to target sample rates 48kHz, 64kHz, 96kHz using high quality settings.
c. Encode with mp3, qaac, neroaac, vorbis at high quality settings i.e. mp3lame cbr 320, qaac tvbr 127, neroaac q1, vorbis q10.
d. Resample the results with sox to 32bit 352kHz pcm wav using high quality settings.
e. Load into REW as measurement sweeps.
2) White Noise
a. Generate REW full range white noise and save to 32bit 352kHz pcm wav.
b. Load into REW as RTA measurement taking the peak reading.
The Sweep distortion results on the original file seem to show a limitation of 24bit processing with readings at about 148dB and better i.e. 144dB SNR from 24bits and ~6dB from noise shaping.
Sweeps indicate that MP3 has very low distortion at 0.0035 (89dB) but the white noise check shows that MP3 makes use of adjacent frequencies unlike other codecs which vary the original frequencies slightly up or down.
For me the best option is Nero AAC 96kHz with a distortion peak of 0.02 (74dB) at ~1222Hz (the peak seems like a design choice as the remainder is considerably lower). Nero AAC 64Khz isn't that much different though.
LDAC comparison is problematic. One method is playing the measurement sweep file to a BT receiver which sends an optical output to a PC and saving to file. The sender would use 24bits 96Khz 990kbps LDAC and maybe 32bits 48kHz or other combos. Another way would be using the github libraries ldacenc and libldacdec.
REW_MDAT
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Attachments
Last edited: