The Pitch of signal

13 次查看(过去 30 天)
Nachiket Patki
Nachiket Patki 2017-3-25
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