Borrar filtros
Borrar filtros

I want a MATLAB code for removing silence from a speech signal..

5 visualizaciones (últimos 30 días)
Safi Khan
Safi Khan el 27 de Sept. de 2016
Respondida: Walter Roberson el 27 de Sept. de 2016
I need a short and simple code..

Respuestas (1)

Walter Roberson
Walter Roberson el 27 de Sept. de 2016
Suppose that your signal is stored in S. Then
newS = S( any(S,2), :);
This will create newS that has only the places where at least one of the sound channels is non-zero. For this purpose, I have defined "silence" as a sample value exactly equal to 0, of any duration.
Short and simple (and simplistic)

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by