Quick comparison: Sonos Connect,
KEiiD, Wiim Mini, all tests done at 16/44.1kHz, optical out.
pi@pitestrig:~/fft $ python3 thdcalculator.py in/
sonos_connect.wav 1000 1 5
filename = in/sonos_connect.wav
freq = 1000, t1 = 1, t2 = 5
frame rate = 44100, channel = 2
shape = (2, 253952), dim = 253952, sample_rate = 44100 channels = 2
track length = 5.76 seconds
low_freq = 10.0, max_freq = 1000.0
low_freq = 10.0, max_freq = 1000.0
channel 1:
thd = 0.00007 %
channel 2:
thd = 0.00007 %
pi@pitestrig:~/fft $ python3 thdcalculator.py in/
KEiiD.wav 1000 1 5
filename = in/KEiiD.wav
freq = 1000, t1 = 1, t2 = 5
frame rate = 44100, channel = 2
shape = (2, 241664), dim = 241664, sample_rate = 44100 channels = 2
track length = 5.48 seconds
low_freq = 10.0, max_freq = 1000.0
low_freq = 10.0, max_freq = 1000.0
channel 1: thd =
0.00092 %
channel 2: thd =
0.00092 %
pi@pitestrig:~/fft $ python3 thdcalculator.py in/
wiim_no_eq.wav 1000 1 5
filename = in/wiim_no_eq.wav
freq = 1000, t1 = 1, t2 = 5
frame rate = 44100, channel = 2
shape = (2, 245760), dim = 245760, sample_rate = 44100 channels = 2
track length = 5.57 seconds
low_freq = 10.0, max_freq = 1000.0
low_freq = 10.0, max_freq = 1000.0
channel 1: thd =
0.00006 %
channel 2: thd =
0.00006 %
pi@pitestrig:~/fft $