Here's a blind test for you to do (Harmonic Distortion)
Feb 21, 2011 at 1:17 AM Thread Starter Post #1 of 17

porthillsbomber

Head-Fier
Joined
Jul 21, 2010
Posts
73
Likes
11
Here are the files
 
http://www.mediafire.com/?t8b6pocc40yxb
 
I've done something to the files that will shed light on to something that is mentioned a lot but I have never seen any evidence on. I'm not going to tell you what the differences are but it's not compression related or any special effects etc. If you do the test I would like you to PM me which ones you think sound the best, in order too if you can. If you can't tell the difference say that too. Once I get 20 results or so I'll tell you what I've done.
 
The song is the first 25s of Chan Chan by the Buena Vista Social Club but if someone can suggest a good reference song for this test I can apply the same thing to that song too.
 
Thanks for your help.
 
Edit: Added first 35s of Evil Ways by Santana
 
Edit: Added the songs in zip files
Edit: Added In the water by Annie and the Beekeepers
 
Feb 23, 2011 at 3:11 AM Post #4 of 17
just did your test.. pm soon coming
 
btw, props for continuing to upkeep your thread through a freakin earth quake!
 
also.. if nothing else you have introduced me to buena vista social club ( after years of hearing about them but never hearing them) whose albums i will be buying.. thanks!
 
 
Feb 23, 2011 at 5:21 AM Post #5 of 17
Thanks we're up to 5 now. Thankfully we're all fine at my place except the loss of a chimney and having to use a hole on our lawn as a toilet! Yeah they're great I was actually introduced to them from reading a beta22 review.
 
Feb 24, 2011 at 9:34 AM Post #7 of 17
question: is this something you did applies to the whole of a file, or to just some parts of it?
 
also: if you'd put all the files into one zipped folder you'd have more results, I think.
 
Feb 25, 2011 at 5:15 PM Post #9 of 17
Well I've got about 10 results now and they're fairly consistent so I'll tell you what I did. I have added 5% harmonic distortion in the different harmonics from 2nd to 5th plus there is the original. The general consensus so far in best to worst sounding is
 
original -> 3rd -> 2nd -> 5th -> 4th
 
about 25% can't distinguish any difference (I suspect it may be more because I've had a lot more downloads than results) 50% can distinguish only the 4th and 5th and 25% can just distinguish between the rest also.
 
This is how I did it, please tell me if it was wrong.
 
Took the original flac I had and upsampled to 24 bit wav.
 
Imported to matlab and added harmonic distortion by using the Chebyshev n polynomial of the original waveform to create nth order harmonic distortion.
 
multiplied the by 0.05 and added it to the original wave form.
 
converted to 24bit flac so I could use replay gain
 
downsampled to 16 bit wav applying replay gain and dithering. 
 
 
So far the results seem to indicate that the odd harmonics are favoured to even ones isn't that the opposite of what we're told?
 
 
Feb 25, 2011 at 5:33 PM Post #10 of 17
 
Quote:
Well I've got about 10 results now and they're fairly consistent so I'll tell you what I did. I have added 5% harmonic distortion in the different harmonics from 2nd to 5th plus there is the original. The general consensus so far in best to worst sounding is
 
original -> 3rd -> 2nd -> 5th -> 4th
 
(snip)
 
 
So far the results seem to indicate that the odd harmonics are favoured to even ones isn't that the opposite of what we're told?
 

 
To answer your comment/question on the odd/vs even harmonics: Kind of sort of yes no :p
 
The general guideline is that LOWER order harmonics are preferable to higher order. Your test agrees with this, with BOTH 3rd & 2nd better than 5&4. There was a "weighted" distortion scale proposed in the (I want to say late 1950's, but I may be wrong) that reflected the way humans percieve distortion in the published distortion number VS the simple measurement technique that EVERYTHING can pass. Obviously the weighted scales got rejected... Its funny to think about this weighted scale when looking at the distortion spectra of a power amp that NEVER drops into the noise floor.
 
Anyways, after that even harmonics are generally perceived as being on the softer side, where odd harmonics can actually be perceived as being more detailed! at 5% THD added there is no doubt that they are audible... 
 
I wonder how the test would go at 0.5 to 1%THD, with "pure" harmonics added like this. 1% is still audible, and 0.5% may be (it certainly is in tones, Im not as sure about music). In any case, VERY few people listening to headphones run an amp hard enough to even get to 0.5%. Not even "open loop" tube guys, as much as the scope jockeys love to rag on them.
 
FWIW, the past few times I have tried (and others have tried too) the threshold of hearing THD in an ABx test on tones is 0.5% for a VAST majority of people. We did this at a NJ head-fi meet a few years back, it was quite fun.
 
Feb 26, 2011 at 4:55 PM Post #11 of 17
Quote:
This is how I did it, please tell me if it was wrong.
 
Took the original flac I had and upsampled to 24 bit wav.
 
Imported to matlab and added harmonic distortion by using the Chebyshev n polynomial of the original waveform to create nth order harmonic distortion.


Ahhhm the chebyshev polynomials will output a defined set of harmonics only if the input signal is sinusoidal. More complex signals (like those tracks you posted) will get you plenty of intermod products.
 
I guess you'd need to split the input signal into several bands using BP filters and process each band individually to reduce IM. 
wink.gif

 
 
I'm sorry, but because of that I think it's best to declare the conclusions invalid.
 
Feb 26, 2011 at 5:06 PM Post #12 of 17
Yes I thought about that but as far as I can tell you can't have something that produces harmonic but not IM. I've thought about this experiment from the amp point of view. If and amp is linear you get no harmonic or IM distortion if its non-linear you get harmonic and IM distortion.
 
Feb 26, 2011 at 5:13 PM Post #13 of 17
Hmm could you run RMAA please, then in the top right configure 16 bit / 44.1 kHz, generate the test signal (floppy disc button), process the test file the same way you processed the tracks above and then analyze the resulting wav files (button next to floppy)?
 
Would be interesting to see what the THD and IM graphs look like. 
 
Or share your script and I will analyze it. 
wink.gif

 
Feb 26, 2011 at 5:38 PM Post #15 of 17
Here it is
 
 
Code:
  function hd(filename) l = 35; %length used in seconds [or,fs,N] = wavread(filename,[1 44.1e3*l]); %import first l seconds from wav hd2nd5p = or + 0.05*(2*or.^2 - 1); %adds 5% 2nd harmonic distortion hd3rd5p = or + 0.05*(4*or.^3 - 3*or); %adds 5% 3nd harmonic distortion hd4th5p = or + 0.05*(8*or.^4 - 8*or.^2 + 1); %adds 5% 4nd harmonic distortion hd5th5p = or + 0.05*(16*or.^5 - 20*or.^3 - 5*or); %adds 5% 5nd harmonic distortion n=length(filename); wavwrite(hd2nd5p,fs,N,[filename(1:n-4) 'hd2nd5p.wav']) %exports to wav with the same filename with hd2nd5p on the end wavwrite(hd3rd5p,fs,N,[filename(1:n-4) 'hd3rd5p.wav']) wavwrite(hd4th5p,fs,N,[filename(1:n-4) 'hd4th5p.wav']) wavwrite(hd5th5p,fs,N,[filename(1:n-4) 'hd5th5p.wav']) wavwrite(or,fs,N,[filename(1:n-4) 'or.wav']) %exports the original (first l seconds)
 

Users who are viewing this thread

Back
Top