Can you hear the difference between a square wave and a sine wave?
게시 시간: 2013. 09. 26.
A comparison between square waves and sine waves of various frequencies, displayed on an oscilloscope, with commentary.
TRANSCRIPT
I am going to demonstrate the difference in sound texture between a square wave and a sine wave, and show how they become subjectively increasingly similar at higher frequencies.
I'll play a signal that alternates between square wave and sine wave, starting at 100 Hz. You will hear the difference clearly.
As you can hear, the square wave has a very much brighter and harsher tone, compared to the sine wave, which is very smooth. The levels have been set to the same RMS values, so that both waveforms should be subjectively equally loud.
Now I will increase the frequency to 1000 Hz, or 1 kHz. As I continue to increase the frequency I will adjust the timebase control of the oscilloscope so that you can see the shapes of the waveforms clearly.
At 1 kHz the square wave and the sine wave still sound very different to each other. I will increase the frequency in 1 kHz steps...
2 kHz
3 kHz
4 kHz
At this point you will probably start to hear both waveforms as being very similar, apart from a small difference in level that I will explain in a moment. Let's move more quickly through the frequency range...
6 kHz
8 kHz
10 kHz
12 kHz
At this point, both waveforms sound pretty much identical. The reason for this is that the brightness of the square wave is caused by its harmonics. Where a sine wave only has one frequency component - its fundamental - the square wave has the fundamental and harmonics at whole odd-number multiples of the fundamental frequency. So in a 100 Hz square wave, you hear frequency components of 100 Hz, 300 Hz, 500 Hz, 700 Hz, and so on all the way up the frequency band, as you can see in this spectrogram.
When we get to a fundamental frequency of 4 kHz however, the next frequency component, which we call the second harmonic is at 12 kHz. Many people can't hear frequencies as high as this. At a fundamental frequency of 8 kHz, the second harmonic is at 24 kHz, which hardly anyone is capable of hearing. It is also worth saying that digital audio sampled at 44.1 kHz which is common can't reproduce 24 kHz either. A sampling rate of 96 kHz was used to make the original recordings here to show on the oscilloscope, to allow a margin of safety.
So, as the frequency increases, the harmonics of the square wave become inaudible, leaving only the fundamental, so at a high enough frequency it sounds exactly the same as a sine wave.
Finally, let me explain the slight differences in level. Well, if the harmonic components of the square wave are being lost at very high frequencies, the overall level will therefore be a little lower.
You might also notice some ringing in the square wave signal. This is probably being created by filtering in the digital-to-analog convertor. The ringing frequency is around 46 kHz, so it is well above the audio band. The oscilloscope, by the way, is specified up to 20 MHz, so we can expect it to be completely clean in the audio band.
In summary, at increasing frequencies, a square wave begins to sound more and more like a sine wave.
※참고
영상 자료는 fourier analysis를 이용한 것으로,
hamornic sinusoidal waves를 중첩해가면서 oscilloscope를 통해 시연하고 있다.
저주파에선 rectangular wave가 sinusoidal wave에 비해 보기와는 다르게 더 조화롭게 들린다.
이는 전자의 경우 harmonic wave가 중첩되어 있기 때문이다.
하지만 고주파로 갈수록 harmonic wave가 가청 주파수 영역을 벗어나기 때문에,
그 청음 효과는 거의 나타나지 않는다.
요즘 나는 infra or ultra sonic 장치를 개발하고 있다.
최근 며칠 간 방조 장치를 만드는데 집중하고 있다.
중요 핵심 기술 고안 장비는 거지반 완성한 셈이다.
농사를 짓는 일이 간단치 않다.
식물을 잘 기르는 것 외에 수많은 문제들을 해결하여야 한다.
그 중 하나.
열매를 지켜내기 위해 밭에서 새를 쫓아 내는 것이,
초미(焦眉)의 문제로 대두되었다.
겨울철에 쉬면서 방조(防鳥) 기술을 연구하던 차,
오늘 우연히 보게 된 이 자료가 내가 제작하고 있는 방조기기의 기술적 기초와 같기에,
여기 참고용으로 남겨둔다.
차후, 만든 것을 모두 공개하는 것이 옳은가 아니면,
나눔에 제한을 가하는 것이 옳은가 고민을 하고 있다.
이 고안물은 인간에겐 득책이 되지만,
뭇 생령에게 예기치 않게 무차별적으로 해가 가해질 수도 있기 때문이다.
일단은 그동안의 작업 과정과 내용의 대강(大綱)은 추려 공표할 예정이다.
다만 겨울이라 필드 테스트를 할 수 없기에 성패는 명년 봄 이후이나 되어야 밝혀질 것이다.
그 이후라도 추가 적응 시험, 개선 작업에 좀더 시간이 소요될 것이 예상된다.
'농사' 카테고리의 다른 글
Sonic Charge Synplant (0) | 2013.12.17 |
---|---|
조류 퇴치기(v1.0) 고안 - 방조(防鳥) 시스템 (2) | 2013.12.14 |
Additive Synthesis (Square, Sawtooth, and Triangle Waves) (0) | 2013.12.09 |
농약 사용과 인과론 (0) | 2013.08.22 |
전도도(傳導度) 그리고 끼어든 잡상(雜想) (2) | 2013.07.11 |
향(香) (0) | 2013.06.28 |