Exploring Human Hearing Range
Human Hearing Range
In this post, I'll look at an interesting aspect of Audacity – using it to explore the threshold of human hearing. In my book Digital Signal Processing: A Gentle Introduction with Audio Examples, I go into this topic and I include a side note on the amazing hearing range of our canine companions.
Creating a Test Audio File
Audacity allows for the generation of a variety of test signals. If you click the Generate->Tone menu, it looks something like this:
Select a frequency of interest, taking care to use one in the human hearing range, between 20 Hz and 20 kHz.
In the diagram, I've used a 9000Hz sine-based waveform. Click OK to generate the signal and you'll see the familiar Audacity blue block:
In passing, notice in the bottom left of the figure, the sample rate (highlighted) is the default value of 44,100 Hz and the position of the audio position (or signal cursor is zero), i.e., the leftmost sample. As discussed in my earlier post, you can delve into the signal by zooming in all the down to individual sample values.
So, we now have a basic single-tone (9000 Hz) audio signal. To verify that the signal contains the required 9000 Hz tone, let's do a spectrum analysis, by clicking Analyze->Plot Spectrum... to produce the following.
Notice the single peak of 9000 Hz generated using the default Audacity settings.
So, what does such a signal sound like? Well, Audacity provides a playback option. As a precaution, make sure that your machine sound volume is set low – single tone signals sound pretty horrible. As soon as your volume is set low, hit the green play button:
You can then play around with generating other signals with higher/lower frequencies. Enjoy!
Previous post by Stephen Morris:
Digging into an Audio Signal and the DSP Process Pipeline
A sine wave has no harmonics, as you probably know, and a square wave has lots. The first harmonic is at a frequency three times that of the base frequency, so an 1kHz square wave will have it's first harmonic at 3kHz.
Now comes the clever part. If you can tell the difference between a sine and a square waveform at the same frequency, it would indicate that you can at least hear the first harmonic of the square wave. So if you, for instance, compare an 8kHz sine wave with an 8kHz square wave and can tell the difference - that should indicate that you can hear up to 24kHz.
Of course, your ears isn't alone of having limits. Every unit in the signal chain can cap the frequency or distort the sound in any shape or form - so even if you don't hear any difference, that isn't proof that you are not able to. Only on equipment which can play above 20kHz, can you get a guaranteed result. One example can be the sample rate of your converter - at 44.1kHz it will hardly play over 20kHz depending on the LPF.
Interesting observation, thanks!
To post reply to a comment, click on the 'reply' button attached to each comment. To post a new comment (not a reply to a comment) check out the 'Write a Comment' tab at the top of the comments.
Registering will allow you to participate to the forums on ALL the related sites and give you access to all pdf downloads.