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 comentario

KSSV
KSSV el 3 de Jun. de 2022
Where is is not working? What error you are getting?

Iniciar sesión para comentar.

Respuestas (1)

Amir Azadeh Ranjbar
Amir Azadeh Ranjbar el 3 de Jun. de 2022

0 votos

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

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 3 de Jun. de 2022

Respondida:

el 3 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by