I have audio signal of 66seconds and want to segment it into 1second each with for loop. what can I do to segment a audiosignal into equal parts?

Respuestas (1)

jibrahim
jibrahim el 20 de Oct. de 2022
The buffer function can do this for you:
fs = 16e3;
x = randn(66*fs,1);
y = buffer(x,fs);

Categorías

Más información sobre Audio Processing Algorithm Design en Centro de ayuda y File Exchange.

Preguntada:

el 20 de Oct. de 2022

Respondida:

el 20 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by