its not work ?

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 Commento

KSSV
KSSV il 3 Giu 2022
Where is is not working? What error you are getting?

Accedi per commentare.

Risposte (1)

Amir Azadeh Ranjbar
Amir Azadeh Ranjbar il 3 Giu 2022

0 voti

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

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by