HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: IgorC on 2012-02-28 03:06:21

Poll
Question: 8 kHz - 16 kHz
Option 1: 8 kHz votes: 0
Option 2: 9 kHz votes: 1
Option 3: 10 kHz votes: 0
Option 4: 11 kHz votes: 0
Option 5: 12 kHz votes: 2
Option 6: 13 kHz votes: 4
Option 7: 14 kHz votes: 5
Option 8: 15 kHz votes: 10
Option 9: 16 kHz votes: 19
Option 10: I can hear more than 16 kHz. (See the next poll below: 17 -22 kHz) votes: 54
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-02-28 03:06:21
It's a new version of previous poll (http://www.hydrogenaudio.org/forums/index.php?showtopic=93660).

This poll has a separate options. It's "20 kHz" , "21 kHz"  and "22 kHz" options  instead of single "20 kHz and higher".

Also sampling rate of tone files is 48 kHz now.

Please perform the test at your normal loudness level that You commonly use to listen a music.

Also, make sure you have your software and OS configured so that it does not resample the audio from its native sample rate.  If your hardware has trouble playing files at 48 kHz, make sure you use a resampler that does not alias.  See this image as an example in Windows 7 and Vista (which apparently cause aliasing when set to 44.1kHz):
http://i.imgur.com/snX6u.png (http://i.imgur.com/snX6u.png)


Download the test samples here (6.74 MB):
Hearing test (http://www.hydrogenaudio.org/forums/index.php?act=attach&type=post&id=6966)

If you are unsure whether you can hear a particular frequency or not, ABX it against the silent track.  Be sure to play each sample in its entirety all the way through for each and every trial in order to avoid audible clicking that will give away the identity of the non-silent track.

This poll has two sections. You should check two options.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-02-28 05:27:38
I  barely hear 17 khz, it's when I  compare with 18 khz that I  notice that it's not silent.

Also I  wish I would have been able to do an Abx  Test with higher frequencies and silence, but there's an obvious pop when you start to play, and you know immediately which file has high frequency content. Oh, I  tried to put a file with insane frequency ( like 40 khz) so that I  get a pop too  while being "silent" for normal ears , but then I  notice that the pop can sound different.
Title: Which is the highest frequency that You can hear?
Post by: halb27 on 2012-02-28 08:10:06
At a normal loudness level I can hear 13 kHz only (aged 62). I didn't read carefully about loudness level during the last test that's why I got at a 16 kHz there.
Title: Which is the highest frequency that You can hear?
Post by: cliveb on 2012-02-28 08:41:46
I'm 54 (well, nearly 55), and can just hear 16kHz at normal levels. I can hear 17kHz if I turn it up.

About 20 years ago I was easily able to hear 18kHz. I suppose losing 2kHz in 20 years isn't bad.
Title: Which is the highest frequency that You can hear?
Post by: Nessuno on 2012-02-28 11:38:16
I was just listening to music at the usual (rather moderate) level with headphones on my iPhone, then without touching the volume I upload the files and ran the test: 15kHz (and I'm 43).

Actually, perhaps I think I perceived something at 16kHz but I'm not so sure I really heard it or just a placebo effect of the lasting click of precedent tone, so I voted conservatively.
Title: Which is the highest frequency that You can hear?
Post by: Caleb_ on 2012-02-28 12:07:57
You can even create pure sin tones in foobar2000 by typing "tone://16000,10" in add location dialog. Before listening set in Preferences>Advanced>Decoding your native soundcard sample rate (most cheap sound cards works at 48000 Hz)

About topic - sometimes I can hear 18 kHz (especially after sleeping) but not always. Always I can hear 17 kHz so I chose 17 kHz in poll.
BTW. It can be more interesting if you add age to poll... I'm 24 years old.
Title: Which is the highest frequency that You can hear?
Post by: xnor on 2012-02-28 13:26:36
I'd like to vote (18-19 kHz) but it says that I already have voted.
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-02-28 14:22:53
By making them 48khz you only shifted the problems to those that had properly set Windows and their souncards to 44khz. I suggest providing another set of files in 44khz, so everybody can doublecheck.
Title: Which is the highest frequency that You can hear?
Post by: pdq on 2012-02-28 14:25:33
I have only heard of sound cards resampling from 44 to 48. I have never heard of one that resamples 48 to 44.
Title: Which is the highest frequency that You can hear?
Post by: smz on 2012-02-28 14:57:04
14 kHz with this samples played with foobar2000
15 kHz (barely...) with foobar's tone://15000,10

Different levels?

Age 57 years.
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-02-28 15:12:30
I have only heard of sound cards resampling from 44 to 48. I have never heard of one that resamples 48 to 44.

It gets resampled to whatever you set in Windows in addition to what your soundcard does. http://i.imgur.com/snX6u.png (http://i.imgur.com/snX6u.png)
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-28 15:36:11
Ok, so change it there.

Has anyone perfomed tests on the particular resampler involved?  I'm betting it's transparent.
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-02-28 16:10:51
Ok, so change it there.

Has anyone perfomed tests on the particular resampler involved?  I'm betting it's transparent.

Using Audition 1.5 and Windows set to 44khz, I can clearly hear 19khz, sounding more like 16khz. If I set Windows to 48khz the sample is silent according to my hearing. Resampling the file to 44khz has the same effect.
If you set Audition's resampler to low quality it also produces lower frequencies along the original signal (visible in spectrum view), so I guess Windows is trading quality for performance too.

Setting Windows to 44khz should be prefered if you listen to regular music on said system, instead of working around that problem.
Title: Which is the highest frequency that You can hear?
Post by: mzil on 2012-02-28 16:25:19
You can even create pure sin tones in foobar2000 by typing "tone://16000,10" in add location dialog. Before listening set in Preferences>Advanced>Decoding your native soundcard sample rate (most cheap sound cards works at 48000 Hz).

I like this method best; it works great and it allows one to easily setup even intermediate frequencies such as "tone://14500,10", so one can quickly jump between different half steps. Bravo!

I'm still a little confused by everything. A few question from a foobar2000 newb, trying to understand how to avoid SRC, if you don't mind:

A. How do I determine the native sampling rate of my (outboard USB) Behringer UCA-202?
B. When I set "Preferences>Advanced>Decoding" in foobar2000, as you advise, does this obviate what I have set in my Windows7/64bit, Playback devices, "Speakers 2- USB Audio CODEC" Properties>Advanced>Default Format ("when running in shared mode") of "16bit, 48000Hz"? Or do I need to (or should) change that too?
C. How should I set the two "Exclusive Mode" boxes, below this Win7 setting in question B, above, regarding "control" and "priorities"? I don't understand what they mean.

Thanks.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-28 16:26:37
Using Audition 1.5 and Windows set to 44khz, I can clearly hear 19khz, sounding more like 16khz. If I set Windows to 48khz the sample is silent according to my hearing.

Ok, thanks for this.

Resampling the file to 44khz has the same effect.

For the sake of clarity, which effect is this, 19kHz is silent according to your hearing, or does it sound more like 16kHz?

Setting Windows to 44khz should be prefered if you listen to regular music on said system, instead of working around that problem.

This does not follow from the information you provided, which suggests that the resampler in Windows aliases.

Also, I don't believe this justifies creating 44.1k samples for the test.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-02-28 16:42:20
Personally  I  just use SOX, to set at a sample rate supported by my soundcard. I  use 192 khz. If sox resampling is as transparent as it is claimed, then this shouldn't be a problem.
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-02-28 17:56:18
For the sake of clarity, which effect is this, 19kHz is silent according to your hearing, or does it sound more like 16kHz?

This does not follow from the information you provided, which suggests that the resampler in Windows aliases.

Also, I don't believe this justifies creating 44.1k samples for the test.

Proper resampling (quality set to 999 in Audition) makes it silent.

Windows only resamples if input and output samplingrate differ. So if your music is 44khz, and your soundcard can output 44khz and Windows is set to 44khz, no resampling will be applied.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-28 18:20:46
[...] and your soundcard can output 44khz [...]

You left this part out earlier, hence my concern.

That still doesn't address pdq's point.  What sound card resamples 48 to 44?
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-02-28 18:39:55
If you change any of the 44khz in the above chain into another sampling rate, Windows will resample in order to match them again. Even if your soundcard can output 44 and 48khz properly, any regular music file with 44khz will be resampled to 48khz by Windows if you leave it at the default setting. Not implying that it's audible for music.
If you never want Windows to resample, you either have to use exclusive mode in your player or change the output rate anytime you play file with different samplingrate (for example DVD Audio with 48khz).

There probably are some older soundcards that can't playback 48khz either, so they would also need to apply resampling down to 44khz. Worst case scenario would be, a 44khz Audio CD, resampled by Windows to 48khz will then be resampled again by the soundcard because it only accepts 44khz maximum.

Since regular music is mostly 44khz, that's what I set my Windows to, otherwise useless resampling would be applied. My soundcard accepts any samplingrate.


Only if you have one of those infamous soundcards that only accept 48khz, you would leave the Windows setting at 48khz and then either live with the quality degradation or use a software resampler in your player.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-28 19:00:29
I appreciate the helpful input, but recommendations about general playback is a bit off-topic.

Samples were created @48kHz in order to avoid the potential problems with the previous poll.  I wish they were faded in and out, hopefully to help avoid clicking, but that's a different matter.  If there were to be two sets we would invariably see people falsely claim the ability to hear higher frequencies, either because they chose the wrong set or chose the highest result from either set.

To my knowledge, all old soundcards that could play 44.1k but not 48k did not resample, they just refused to play 48k.

As such, I think providing samples only at 48k was the proper decision.
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-02-28 19:19:00
Well in my particular setup it did produce aliasing, so while I might be in the minority here, that could happen to other people too. I didn't meant to start a discussion about it as I thought my first comments were enough to get my point across.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-28 19:31:47
You're absolutely right.  This information is invaluable in getting proper results.  I simply contend that verifying the sample rate setting in your OS and/or player is the proper solution, rather than creating two sets of samples.

Your post is worth repeating, and with IgorC's approval I can include something about it in the initial post:
It gets resampled to whatever you set in Windows in addition to what your soundcard does. http://i.imgur.com/snX6u.png (http://i.imgur.com/snX6u.png)
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-02-28 21:04:12
greynol, go ahead.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-28 21:21:58
Done.  Feel free to PM me to make any additional changes.
Title: Which is the highest frequency that You can hear?
Post by: johnb on 2012-02-28 21:30:17
17kHz right ear, 16kHz left ear (had some damage during military service)
age 42

FIIO E7 at vol 10, full scale windows
The "tone approach" in foobar sounds louder than the files sampled at 48kHz .
Title: Which is the highest frequency that You can hear?
Post by: BoraBora on 2012-02-28 23:06:53
13kHz. I think I hear something at 14kHz but it's so faint I can't be sure. 53 years old.

This is more in line with my age than the 1rst test. Now I know I was hearing aliasing. Too bad! 
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-02-29 00:41:37
13kHz. I think I hear something at 14kHz but it's so faint I can't be sure. 53 years old.

This is more in line with my age than the 1rst test. Now I know I was hearing aliasing. Too bad! 


I  guess all senses are affected by aging  ...
Title: Which is the highest frequency that You can hear?
Post by: derty2 on 2012-02-29 07:08:39
15 kHz definitely, 16 kHz barely, 17+ kHz nothing .
Noisy PC, Windows XP, Realtek audio driver, foobar2000 with Kernel Streaming output .
Over 40 years old.
Title: Which is the highest frequency that You can hear?
Post by: KMD on 2012-02-29 09:28:11
I posted a warning before but I'll post again. Is it really a good idea to play a 20Khz sine wave into an amp and speakers an then turn the volume up. The tweeters will be destroyed.
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-02-29 09:50:57
You're NOT supposed to turn the volume up.
Title: Which is the highest frequency that You can hear?
Post by: Splat on 2012-02-29 17:56:47
Wow, am I the only one who can hear 22kHz ?

I`m 31 years old.

The 22kHz sample is very quiet, but i can still hear it.

It sounds similar to the tone that i hear if i'm on a very silent environment, its just a bit louder.
Maybe I have some kind of tinitus, but it's so damn low in volume that i only hear it in very silent places.

Now I am interested if other peoples hear high frequency tones too in places with very low noise. 
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-29 18:28:10
Did you perform an ABX test between the clip of silence and the clip of 22kHz?
Title: Which is the highest frequency that You can hear?
Post by: Pri3st on 2012-02-29 18:43:21
16 khz 32 years old.
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-02-29 19:07:50
Did you perform an ABX test between the clip of silence and the clip of 22kHz?

ABX between silence.wav  and particular tone is useless.  xkHz.wav has a loud click at begining and in the end of file while silence has not.

when I get home I will make a new silence.wav with the same clicks and inbetween silence .
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-02-29 21:42:57
The click should go away if you your tone samples fade in and out.

I mentioned this in the original poll:
There are clicks when the samples start and stop which could probably be eliminated by creating ones that ramp up and down.

...as well as in this one:
I wish they were faded in and out, hopefully to help avoid clicking, but that's a different matter.

Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-01 01:48:55
Hm, yes, the fading is a better solution.
If You have time to make a new files then I will be only glad as I can't in this moment. Thank You for previous add to OP.

I think we're getting closer to get  more  usable results than all previous polls like this one.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-01 02:42:25
It's done.

I also changed the contents of the readme file to:
Quote
Note:
Please perform the test at your NORMAL listening level.  These samples are already FAR louder than they would occur in regular music.

Again, feel free to PM me for any additional changes.  While there may possibly be a few incorrect votes, I think we can continue rather than start over.  If enough people feel that the poll should start over again then that is easily handled.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-01 04:28:03
Well, with latest files,  I  managed to ABX 18 khz from silence, which is better than the 17 khz I've initially selected on the poll.
However with 19 khz I give up, I'm not even trying to guess on the ABX  test, it's just the same.

The volume was set at a level , I  usually listen to music.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-01 04:48:46
To be perfectly clear, all that changed in each sample was the length the fade in and the fade out.  The level and frequency remained unchanged.  Feel free to verify the new files against the old ones if you like.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-01 12:25:21
yes,  the fade in/out is important ,  to avoid the obvious pop when starting to play , and to do a fair ABX  test.
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-02 16:25:28
Wow, am I the only one who can hear 22kHz ?

I`m 31 years old.

Can You perform ABX test with 22kHz file and silence.wav (updated files*)  at normal volume and with precaution  for sampling rate (see OP (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=93733&view=findpost&p=787815)) ?

* the only update is fade in and out of the tones to avoid the clicks.
Title: Which is the highest frequency that You can hear?
Post by: Splat on 2012-03-02 16:48:52
Finished with the new files 

(http://sv1.imagefire.net/image/10450babe1e3.jpg)


(http://sv1.imagefire.net/image/8191242685b4.jpg)

Code: [Select]
foo_abx 1.3.4 report
foobar2000 v1.1.7
2012/03/02 17:17:29

File A: C:\Users\Martin\Desktop\Hearing_maximum_frequency_test\22kHz.wav
File B: C:\Users\Martin\Desktop\Hearing_maximum_frequency_test\Silence.wav

17:17:29 : Test started.
17:18:23 : 01/01  50.0%
17:18:52 : 02/02  25.0%
17:19:58 : 03/03  12.5%
17:20:49 : 04/04  6.3%
17:24:00 : 05/05  3.1%
17:24:50 : 06/06  1.6%
17:26:20 : 07/07  0.8%
17:26:47 : 08/08  0.4%
17:27:32 : 09/09  0.2%
17:28:34 : 10/10  0.1%
17:29:47 : 11/11  0.0%
17:49:47 : Test finished.

----------
Total: 11/11 (0.0%)


All DSP's were disabled and i has set my soundcard (Envy24HF) to 48kHz to avoid resampling.

Soundcard: Audiotrak Prodigy 7.1LT
Reciever: Denon AVR2105 (connected via SP/DIF, Volume at -34dB)
Speaker: Kef IQ7se
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-02 17:08:46
If you're running Windows Vista or 7, did you make sure that it was set at 48kHz, per the note in the initial post? Or is there something in fb2k to override it as there at least used to be with WinXP?

Also, I do have the ability to change the results of the poll, so if anyone wants to change their vote, send me a PM.
Title: Which is the highest frequency that You can hear?
Post by: Qtax on 2012-03-02 17:22:16
28 years old in a noisy environment (PC noise, some traffic) with open headphones:

Code: [Select]
X        = "Normal" music listening volume.
           Can add 6dB or more depending on mood and music type
           (that is "normal" is X+6dB in those cases).
X + 18dB = Not unusual that I listen to tracks that I like at this volume

X +  0dB: 18 kHz
X +  6dB: 19 kHz
X + 16dB: 20 kHz
X + 18dB: 21 kHz
X + 28dB: 22 kHz (10/10 ABX)


What should I vote? :-p
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-02 17:37:14
Part of the request not to boost the volume is to save your speakers/headphones, and most importantly, your hearing.  The levels in those files are already insanely high compared to normal music, perhaps 20dB louder if not much much more.

After exposure to grossly high levels of these samples, you might find that you can't hear them anymore.

I'll leave it up to others as to how you should vote.
Title: Which is the highest frequency that You can hear?
Post by: Qtax on 2012-03-02 17:56:43
The levels in those files are already insanely high compared to normal music, perhaps 20dB louder if not much much more.

I don't think so. They are about +5dB to -1dB louder than other tracks on my playlist. According to ReplayGain anyway, and I think that's about right.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-02 18:02:21
<sigh>

It should read, "compared the levels of those frequencies in normal music."

Pure tones and music are two completely different things.  Have you tried a high pass filter 8 kHz on normal music and listened to the result? If so did you find the level to be comparable to these test samples?  Try filtering again at 12 kHz and then at 14 kHz.

Finally, ReplayGain is not an appropriate metric to gauge the loudness of high frequencies since the algorithm was designed to closely mimic the human ear which is more sensitive to mid-range frequencies than it is upper-treble frequencies.

I was hoping the initial warning would have appealed to common sense.
Title: Which is the highest frequency that You can hear?
Post by: bandpass on 2012-03-02 21:07:00
The test files have some artefacts due to improper fading; also the silence file is not dithered but the others are.

Here's some shell-script to create a set of artefact-free files:

Code: [Select]
for f in 0 $(seq 8 23); do
  sox -n -b16 ${f}kHz.wav synth sin ${f}k vol .5 fade h .25 5 .25
done

or just run sox manually.  0kHz.wav is dithered silence.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-03 00:04:35
also the silence file is not dithered but the others are.

I  might miss something, but I  don't think silence needs a special encoding 

Quote
artefacts due to improper fading

Sorry, but I  thought that fading was a basic operation. I didn't know it would need special care  (at least regarding artefacts)
Title: Which is the highest frequency that You can hear?
Post by: pururin on 2012-03-03 06:01:50
After exposure to grossly high levels of these samples, you might find that you can't hear them anymore.


Could you please approximately compare the "grossly high levels" to some sound in real life?
Maybe about as loud as in movie theatres, or less?

Not sure because at times I listen to music quite really loud. 
I'm afraid if I'm already deaf by now after tried listening to 17khz like 6-8 times and 18khz more like 10 times and some few more

18Khz btw, age 25. 
wasapi exclusive mode, no resampling.
Title: Which is the highest frequency that You can hear?
Post by: bandpass on 2012-03-03 08:37:29
I  might miss something, but I  don't think silence needs a special encoding 

It probably doesn't; however, to introduce any unnecessary uncertainty into an experiment is foolhardy.

Sorry, but I  thought that fading was a basic operation. I didn't know it would need special care  (at least regarding artefacts)

Science always requires extreme care. How 'basic' the subject of a mistake is, has no relation to the significance of its consequences (see, for example, here (http://news.bbc.co.uk/2/hi/science/nature/462264.stm)).

Designing an experiment around perceiving the presence or otherwise of audio, and unnecessarily introducing artefacts such as these is again, foolhardy:

(http://i42.tinypic.com/14xdphi.png)
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-03 10:01:37
I'm with bandpass here. Sorry if I'm too repetitive and educative, but we're on HA.

Why don't you guys add white background noise to the test samples? I.e. let the listener compare low-level noise and low-level noise plus a tone with fade-in and -out? That way both a) the artifacts bandpass showed and b) aliasing tones due to bad resampling at the listener side could be made irrelevant. In other words, we could have saved ourselves pages of speculation whether certain 22-kHz-hearing poll participants had configured their PCs properly because it wouldn't matter.

And by the way, one more argument for background noise is that it would also mask any low-level aliasing {or non-linear distortion} introduced by the human auditory system or the transducers in case of ultrasound stimuli (if such aliasing occurs; don't know if it does, but with background noise we're on the safe side). I think that's why some Japanese scientists in an article described adding background noise in their tests for audibility of up-to-28-kHz tones. I'll try to dig out the paper. {Here it is (http://www.jstage.jst.go.jp/article/ast/27/1/27_12/_article).}

So, in conclusion, I suggest you go ahead with bandpass's approach, but also add low-level white noise (preferably the exact same noise) to every sample, including the silence.

Chris

P.S.: Yes, I mentioned the background noise issue before (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=93660&view=findpost&p=787628).
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-03 11:07:13
More than fair enough. As for me it's not a problem to re-open a poll one more time. But previously  let's create the files and discuss possibe issues. Feel free to upload new files.  I would do it right now but I won't be home anytime soon.
Title: Which is the highest frequency that You can hear?
Post by: bandpass on 2012-03-03 11:31:16
How does this look?

Code: [Select]
for f in 0 $(seq 8 23); do
  sox -R -n -b16 ${f}kHz.flac synth sin ${f}k noise remix 1p-6,2p-46 fade h .25 5 .25
done

which:
  • has 6dB of head-room
  • puts masking white-noise 40dB below the test tones
  • -R ensures that the noise is generated the same each time
  • uses flac to save some space
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-03 12:09:39
Sounds good overall, but some remarks:

  • I'd leave out the 23 kHz sample, since it's beyond 22050 Hz. I think it wasn't in the test anyway.
  • Are the resulting files mono? If not: they should be so that we don't have stereo noise and mono tones.
  • I think we should let the tones start and end a few msec into the file, in case a listener's player chops off some samples (which might lead to clicks again)
  • To save space maybe it's better to use 8-bit WAV (without dither, the noise already dithers). FLAC is still not supported by every player.

Sorry, I tried to upload my own samples here, but it doesn't work at the moment.

Chris
Title: Which is the highest frequency that You can hear?
Post by: musicreo on 2012-03-03 12:12:34
I can hear up to 18 KHz. But with ABX test I can  identify  19-22KHz.  foobar Wasapi- Asus U1- Sennheiser HD 555. What is wrong with the setup or samples?



Title: Which is the highest frequency that You can hear?
Post by: bandpass on 2012-03-03 12:49:56
  • I'd leave out the 23 kHz sample, since it's beyond 22050 Hz. I think it wasn't in the test anyway.
  • Are the resulting files mono? If not: they should be so that we don't have stereo noise and mono tones.
  • I think we should let the tones start and end a few msec into the file, in case a listener's player chops off some samples (which might lead to clicks again)
  • To save space maybe it's better to use 8-bit WAV (without dither, the noise already dithers). FLAC is still not supported by every player.

Yes, they're mono.
Worried that 8bit might not have enough dynamic range, so sticking with 16-bit wav and addressing the  other points gives:
Code: [Select]
for f in 0 $(seq 8 22); do
  sox -R -n -b16 ${f}kHz.wav synth sin ${f}k noise remix 1p-6,2p-41 fade h .25 5 .25 pad .25 .25
done

I also have problems uploading samples, so please go ahead anyone who doesn't!
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-03 12:59:13
Designing an experiment around perceiving the presence or otherwise of audio, and unnecessarily introducing artefacts such as these is again, foolhardy:

(http://i42.tinypic.com/14xdphi.png)


Humm, I'm a bit surprised. According to the graph and colors, the artefacts are in the  -80 db  -100 db region... (blue-pink colors) .
So at  least this shouldn't affect a "normal use" of the fade, i.e in music.
Have you tried  to "analyse" the fade generated by sox, you don't see such artefacts  ?

I'll redo the hearing test later...
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-03-03 13:03:33
Why don't you guys add white background noise to the test samples? I.e. let the listener compare low-level noise and low-level noise plus a tone with fade-in and -out? That way both a) the artifacts bandpass showed and b) aliasing tones due to bad resampling at the listener side could be made irrelevant. In other words, we could have saved ourselves pages of speculation whether certain 22-kHz-hearing poll participants had configured their PCs properly because it wouldn't matter.

I'm curious. Why would the noise prevent aliasing of high frequency tones?
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-03 15:05:06
It wouldn't prevent it. It would mask the aliasing.

Chris
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-03 16:05:49
Seriously I  didn't hear any "artefacts" in the fade.  The fade in / fade out are relatively fast (250 ms) ,  you don't even have time to realize there's a fade in / fade out by the way.
I avoided aliasing by configuring soundcard output , or just using sox.
And you guys are over-complicating things.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-03 16:45:33
I don't think my samples are going to cause any false positives, but If they can be replaced with better ones then that should be done.  Regarding the idea that noise will mask SRC artifacts, it better be a lot of noise, since some implementations can be really bad (older creative cards come to mind).  As such, I think 48k sampling rate should still be used and other caveats should still be included.

Anyway, feel free to upload new and improved samples to the upload section under a new topic and I'll handle the the rest. I will not be generating them myself.
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-03 16:58:04
Could you please approximately compare the "grossly high levels" to some sound in real life?

Sorry, I can't.  We are talking about pure tones at the edge of human hearing.  This is not typical of what you might encounter in everyday life, except for something like the tone coming off a CRT.

Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-03 17:06:47
Wait, the poll says "Total Votes: 74 - You have already voted in this poll", where neither of this is true. I count only 56 votes.

Anyway, let's see how the last poll ended: total number of listeners: 122, listeners voting 18 kHz and above: 29 (26.6 %)

The results of the current poll so far are: total number of listeners: 56, listeners voting 18 kHz and above: 18 (32 %)

So we have been very successfull in eliminating hypothetical false positives  I'll let the others decide if it's worth opening another poll...

Chris
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-03 17:26:56
listeners voting 18 kHz and above: 18 (32 %)

So we have been very successfull in eliminating hypothetical false positives

...and I can arbitrarily cherry-pick data and be sarcastic about how we haven't eliminated hypothetical false positives.
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-03 17:35:11
Sorry, wasn't my intention to criticize your and Igor's work. If I create a group "19kHz and above" instead of "18kHz and above", that group percentage-wise hasn't decreased in the current poll either. So the previous poll seemed good enough - or at least the listeners educated enough. That's what I tried to get across.

Chris
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-03 17:57:48
Anyway there is still sharp drop from 18 kHz (10 votes) to a single(!) vote for 19 kHz.  And there are still more votes for 20 kHz than for 19 kHz as I've talked before (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=93660&view=findpost&p=787728)
Considering some young guys (20-26 years old. I know them from previous public tests) who have reported <19 kHz as max. frequency it's hard to beleive that some members actually hear a pure tones at 20 kHz and above (plus those members are somewhat older.  30-40 years old).  That's my personal conclusion with which somebody is free to be agee or not.
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-03 18:13:18
Anyway there is still sharp drop from 18 kHz (10 votes) to a single(!) vote for 19 kHz.  And there are still more votes for 20 kHz than for 19 kHz as I've talked before (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=93660&view=findpost&p=787728)

I can understand the strong drop from 18 to 19 kHz - drops above 16-17 kHz have been reported in the literature, and it might be smoothed a bit by more participants. But the "peak" at 20 kHz is strange indeed. But maybe that's simply coincidence. I'd guess the participants in both polls are (will be) roughly the same.

Congrats to 1000 posts

Chris
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-03 18:22:44
Congrats to 1000 posts

 
Thank You. I haven't noticed that. What a waste of moment.     
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-03 18:28:25
I think it's important that we do our best to eliminate doubt.

If the results don't change does that make the exercise a waste of time?
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-03 18:44:37
Well, I would try one more time again with the proposal of Chris.  I guess it's way to learn.
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-03-03 19:01:01
It wouldn't prevent it. It would mask the aliasing.

Hmm. Aliasing sounds like a lower frequency. So let's say 20khz turns into 18khz. How would noise do any good here? I can only see it masking anything by being much louder, so you can't hear any high freuquencies at all.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-03 19:55:46
Wait, the poll says "Total Votes: 74 - You have already voted in this poll", where neither of this is true. I count only 56 votes.


I don't remind, but there might be a "null option" for people that only want to see results.
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-03 20:48:40
Hmm, I checked what happens during bad resampling from 48 to 44.1 kHz. See attachment. Tones from 18 to 22 kHz are from left/green to right/pink, respectively. The white arrow points to the strongest aliasing component, which belongs to the 20-kHz tone. This might explain why more people voted "20" than "19" or "21"?

But onkl and greynol, you're right, masking such strong aliasing requires very loud noise, with a level equivalent to dither noise when going to 4-bit WAV. Not very nice.
[attachment=6967:48_to_44...sampling.png]
Chris
Title: Which is the highest frequency that You can hear?
Post by: bandpass on 2012-03-03 20:53:14
Okay, I've uploaded some new samples taking into account the above comments. In fact, I opted for masking noise at -30dB (instead of the -40 I suggested earlier).

@onkl, aliasing effects, unless a playback resampler contains no filtering at all, should be sufficiently small to be masked by this level of white noise.

Cheers,
Rob
Title: Which is the highest frequency that You can hear?
Post by: greynol on 2012-03-03 20:55:16
I think it is appropriate to add noise to the silent sample that it be identical to that used to dither the tones.  I think noise should also adequately mask the modulation introduced due to volume ramping as well as the small burst that occurs when the ramping up ends and the ramping down begins.  Perhaps this is what is happening in the samples just uploaded by bandpass.

EDIT: I assumed the noise would be LSB dither, this is overkill.  Regardless, if the samples were at 44.1k and I tried them on something like an SB Live! I have my doubts that would be enough to mask resampling artifacts introduced by the card.  I also am concerned about people claiming to hear 22kHz because they hear something, not unlike the person claiming to hear a tone because it was "rumbling."  Honestly, I think the previous samples were better, but am more than happy to see how these go over.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-03 21:40:50
Well, I  found the background noise too loud for being able to ABX 18khz from silence (I  was able before) , but I  can still ABX  17 khz.
And I  had to use convert mono to stereo , in dsp chain otherwise I  have playback problems, and I  prefer to use both ears.
Title: Which is the highest frequency that You can hear?
Post by: stranhoROX on 2012-03-03 22:58:26
Just to clarify:

If I have found that 15k seemed louder than 14k, does that mean my test was invalid? (aliasing, or other problems?) [I'm on Windows XP and I couldn't find an option to fix the sample rate].

By the way, I could hear up 17k. [I'm 20 years old]. I'm not going to vote until I'm sure the test was properly realized.


Another thing: listening to the samples was pretty uncomfortable. I set foobar2000 volume control to -15dB when listening regular music with Replaygain. I had to set to -60dB during the test. Is it supposed to be THAT loud?
Title: Which is the highest frequency that You can hear?
Post by: bandpass on 2012-03-04 08:28:53
Honestly, I think the previous samples were better, but am more than happy to see how these go over.

With the new samples, the signal to noise is much better controlled than in the previous samples; specifically, they are:

1 less dependent on playback volume
2 less susceptible to playback aliasing
3 not subject to the spectral splurge (and other unexplained artefacts) caused by using a linear fade instead of half-cos-wave fade

The amount of masking noise (-30dB) is just sufficient to mask aliasing from the pulseaudio (linux) playback chain, but insufficient to mask aliasing from for example, cubic interpolation. I've uploaded another set of samples with the noise 20dB lower, so the first set I uploaded allows listening tests of relatively 'quiet' (i.e. small signal to noise) tones and the second set relatively loud (higher signal to noise) tones.  If you're sure that your playback chain does not resample 48k, or that it does but has half-decent resampling, then it should be okay to use the second set; otherwise, stick with the first.
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-04 12:45:19
The amount of masking noise (-30dB) is just sufficient to mask aliasing from the pulseaudio (linux) playback chain.

Your original upload from yesterday (-30dB, Hearing_maximum_frequency_test2.zip) also has sufficient noise to mask aliasing in Windows Vista and 7. Still, of course, we should keep the user instruction to configure the OS to avoid resampling.

Chris
Title: Which is the highest frequency that You can hear?
Post by: musicreo on 2012-03-04 14:58:28
With the new files I can easy hear 18 KHz but this time I can't ABX 19-22 Khz.
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-04 16:57:24
I'd say same result with both last tests, 17 khz is the last frequency I  manage to ABX  "easily".
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-04 18:31:28
If I have found that 15k seemed louder than 14k, does that mean my test was invalid?

Not really, such results are possible. The frequency responses of headphones are usually not flat and also depend on the shape of your head/ears and how you wear the headphones. But you should try again with bandpass's new set of files (http://www.hydrogenaudio.org/forums/index.php?showtopic=93824).

Chris
Title: Which is the highest frequency that You can hear?
Post by: db1989 on 2012-03-04 21:15:15
Wait, the poll says "Total Votes: 74 - You have already voted in this poll", where neither of this is true. I count only 56 votes.

I don't remind, but there might be a "null option" for people that only want to see results.

That’s correct; see the button “View Results (Null Vote)”.

I can’t speculate about why it thought Chris had already voted if he hadn’t.
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-05 14:40:49
Now when there are new files are we all ok with the current poll or new one should be opened?

It will be worth if a members who have voted for >=20 kHz will perform the test with the latest files.
We also can go farther and create ABX sessions as for public tests (but probably will receive less results/votes).
Title: Which is the highest frequency that You can hear?
Post by: onkl on 2012-03-05 20:04:21
I'd say just add the new files to the opening post and ask people that score 19khz and higher to doublecheck with these.
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-06 04:31:25
I'd say just add the new files to the opening post and ask people that score 19khz and higher to doublecheck with these.

The files have been updated a few days ago.


Important update:
New set of files was uploaded.  Now tones also have additional background noise to mask aliasing.

People shouldn't be shy  if  they can't hear theoretical 20 kHz.  It's absolutely normal.
It will be much more useful to inform real hearing abilities. Nobody will be accused of anything that's for sure. 
Maybe after all there are some individuals who can hear anything at 20 kHz and above.

I will ask  those of members who have voted for 20 kHz and higher (well, other as well) to run a test with a new set of files again if it's not much to ask.

Thank You.
Title: Which is the highest frequency that You can hear?
Post by: 2012 on 2012-03-06 21:49:15
I'd say just add the new files to the opening post and ask people that score 19khz and higher to doublecheck with these.

The files have been updated a few days ago.


Important update:
New set of files was uploaded.  Now tones also have additional background noise to mask aliasing.

People shouldn't be shy  if  they can't hear theoretical 20 kHz.  It's absolutely normal.
It will be much more useful to inform real hearing abilities. Nobody will be accused of anything that's for sure. 
Maybe after all there are some individuals who can hear anything at 20 kHz and above.

I will ask  those of members who have voted for 20 kHz and higher (well, other as well) to run a test with a new set of files again if it's not much to ask.

Thank You.


Is It possible to change my vote?

When I read "AT NORMAL LOUDNESS LEVEL", I assumed the second part is for loud levels(read the last option carefully after voting) so I answered 22. With the new samples, I can ABX 17 but the best I can really easily hear is 16.
Title: Which is the highest frequency that You can hear?
Post by: IgorC on 2012-03-07 15:44:24
Is It possible to change my vote?

I don't know if administrators can see or change the votes.

I will open a new topic with ABX sessions (like ones for public test ) instead of poll.
The question is which version of noise we should adapt instead of providing two sets of files.

Also the readme.txt will be updated as the listener should start to perform the test at 8-12 kHz  at normal loudness level and then continue to increase the frequency without changing the volume.
Now it  will be more close to call it a valid experiment 
Title: Which is the highest frequency that You can hear?
Post by: bandpass on 2012-03-07 16:14:48
I'd suggest to say 'comfortable' level rather than 'normal' level since the test signals are not normal listening material.

If only one set of test files, I'd suggest my first set (...2.zip) since the risk of other effects is lower and testing at a particular signal to noise level is a perfectly valid and useful thing to do, so even if future tests are done at other levels the data gathered will still be useful as part of an overall picture.

Cheers,
Rob
Title: Which is the highest frequency that You can hear?
Post by: extrabigmehdi on 2012-03-09 13:00:43
I  managed to abx 18khz with difficulty at the end  ( Only 5 try on abx test, as this annoy me, result  3%)
Also I m using now  a different pc, with onboard soundcard instead of xonar stx.
I  thought that my realtek soundcard might add distortions that helped in the abx test.
Title: Which is the highest frequency that You can hear?
Post by: C.R.Helmrich on 2012-03-09 20:25:15
Apparently, as reported in a separate thread, Microsoft offers a hotfix to improve its resampler in Windows 7 and later (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=86676&view=findpost&p=788882).
Edit: I tried it, and it works for me (no more audible aliasing). I wish they would have offered this hotfix before the poll(s) started

Chris
Title: Which is the highest frequency that You can hear?
Post by: matt the cat on 2012-03-10 19:56:56
Apparently, as reported in a separate thread, Microsoft offers a hotfix to improve its resampler in Windows 7 and later (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=86676&view=findpost&p=788882).
Edit: I tried it, and it works for me (no more audible aliasing). I wish they would have offered this hotfix before the poll(s) started 

Chris


Thanks for notifying about that, installed it for my machine now.