clear;clc
filename='2_5.m4a';
[speech,fs] = audioread(filename);
a=audioplayer(speech,fs);
win = hamming(0.05*fs,"periodic");
detectSpeech(speech,fs,Window=win);
s=detectSpeech(speech,fs,Window=win);
for i=size(s,1)
word{1,i}=speech(s(i,1):s(i,2));
end

댓글 수: 1

KSSV
KSSV 2022년 6월 3일
Where is is not working? What error you are getting?

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

답변 (1개)

Amir Azadeh Ranjbar
Amir Azadeh Ranjbar 2022년 6월 3일

0 개 추천

ohhh.....i got it now
for i=1:size(s,1)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

질문:

2022년 6월 3일

답변:

2022년 6월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by