Why pitch function is not working ?
Show older comments
[audioIn,fs] = audioread('G:\guitar tune\guitartunes\A_String.wav'); [f0,idx] = pitch(audioIn,fs); subplot(2,1,1) plot(audioIn) ylabel('Amplitude')
subplot(2,1,2) plot(idx,f0) ylabel('Pitch (Hz)') xlabel('Sample Number')
This is my code. If i run this, its show like this as output.
Undefined function or variable 'pitch'.
Error in Siva2109 (line 10) [f0,idx] = pitch(audioIn,fs);
2 Comments
KALYAN ACHARJYA
on 21 Sep 2018
Which Matlab version you are using?
kanuparthi chaithanya
on 21 Sep 2018
Accepted Answer
More Answers (0)
Categories
Find more on Measurements and Spatial Audio in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!