Borrar filtros
Borrar filtros

Voice

1 visualización (últimos 30 días)
Farideh Jalali
Farideh Jalali el 6 de Mayo de 2012
I wrote a program that analysis a stereo voice file when I am trying to analysis a new voice file I have found error due to Mono file.
How can I change a stereo voice file to mono ?

Respuestas (1)

Wayne King
Wayne King el 6 de Mayo de 2012
If the stereo voice file is Nx2, then just extract 1 column
X = randn(2e4,2);
Y = X(:,1);
  3 comentarios
Image Analyst
Image Analyst el 6 de Mayo de 2012
Or, since he already has his stereo analysis program written and done, just use repmat() to convert the new "Mono file" into a stereo file. This would make sure it doesn't break anything in his existing program that depends on the signal being stereo.
Farideh Jalali
Farideh Jalali el 7 de Mayo de 2012
I have to analysis different voice files with one program,can I write something in the codes that I don't want to change the codes every time?

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by