how to extract pitch of the audio signal?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi. i need to extract pitch of the signal whom frequency and time i already have extracted. but when i apply pitch function of the audio processing toolbox , its not working. As it is installed but still i have to buy it or use its trial version. Is there any alternate toolbox for pitch calculation or any other way to get this toolbox. waiting for the help. code for pitch is given below:
if true
[audioIn,fs] = audioread('hasilwav4.wav');
[f0,idx] = pitch(audioIn,fs);
figure
subplot(2,1,1)
plot(audioIn)
ylabel('Amplitude')
subplot(2,1,2)
plot(idx,f0)
ylabel('Pitch (Hz)')
xlabel('Sample Number')
end
3 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Measurements and Spatial Audio en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!