The Pitch of signal

조회 수: 10 (최근 30일)
Nachiket Patki
Nachiket Patki 2017년 3월 25일
댓글: Star Strider 2017년 3월 28일
Hello sir, According to my knowledge pitch of any signal is nothing but its frequency, so if i keep the same frequency of any signal then the audio that we hear should be same right? While I was working with matlab, what I did is, I kept the frequency same but changed the sampling rate(for the same sinusoid), the result is I got the different sound for 2 different sampling rates. How can that be possible? can you please explain it to me?
Thank you
  댓글 수: 1
Chad Greene
Chad Greene 2017년 3월 25일
Pitch is perceived frequency. The two terms are often interchangeable, but the auditory system is complex, and in some situations a person can perceive two different frequencies to be the same.

댓글을 달려면 로그인하십시오.

답변 (1개)

Star Strider
Star Strider 2017년 3월 25일
I am not certain what you did from your description, so I am guessing here.
The sound function (or whatever you used to play your signal) knows only what you tell it. If you sampled your signal at 10000 Hz and then told sound to play it at 10000 Hz, it will seem exactly as you recorded (or created) it. If you told sound to play it with a 12500 Hz sampling frequency, it will sound higher, and at 7500 Hz, it will sound lower.
Example:
Fs = 10000;
t = [0 : 1/Fs : 2]';
sig = sin(2*pi*t*1000); % Create 1000 Hz Tone
sound(5*sig, Fs) % Sounds Normal
pause(2)
sound(5*sig, 0.75*Fs) % Sounds Lower
pause(2.5)
sound(5*sig, 1.25*Fs) % Sounds Higher
The different pitches you hear relate to how fast sound plays your signal and sends it to your audio system. The duration will also change, so here the original sound will play for 2 seconds, the ‘lower’ sound for 2/0.75=2.7 seconds, and the ‘higher’ sound for 2/1.25=1.6 seconds.
In digital signal processing, sampling theory is not trivial. For a full understanding, please consult a detailed textbook on digital signal processing for a thorough discussion. It is much too detailed and extensive to discuss here.
  댓글 수: 10
Nachiket Patki
Nachiket Patki 2017년 3월 28일
okk sir I will try that. But really thank you for clearing all my doubts. :) Have a nice day
Star Strider
Star Strider 2017년 3월 28일
My pleasure.
You, too!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Measurements and Spatial Audio에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by