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 ExchangeLoops 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