how to estimate pitch of speech signal for each frame ?
2 ビュー (過去 30 日間)
古いコメントを表示
i divded my speech signal into frames,, but i dont know how to find pitch for each frame?
0 件のコメント
回答 (1 件)
AR
2025 年 8 月 14 日
You can use the “pitch()” function in MATLAB to estimate the pitch of the speech signal. If you have already divided your speech signal into frames (for example, each column in the matrix is a frame), you need to process each frame individually since the function expects a vector as input and not a matrix of frames.
For reference, here is a link from the community which discusses a similar approach:
Example: If the frames are stored as columns in a matrix called frames and the sampling frequency is fs, use the following approach:
for i = 1:size(frames,2)
frame = frames(:,i);
pitchValue(i) = pitch(frame, fs);
end
This will give the pitch estimate for each frame in the array pitchValue.
It is often easier to let “pitch()” handle the framing by specifying the window and overlap lengths, but if you already have frames, the above method will work.
To know more about the “pitch()” function, run the following command:
doc pitch
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulation, Tuning, and Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!