Borrar filtros
Borrar filtros

processing wav data to extract

3 visualizaciones (últimos 30 días)
sam aldoss
sam aldoss el 14 de Oct. de 2018
Comentada: sam aldoss el 15 de Oct. de 2018
hello
am not an expert in matlab and using this code to load multiple wav sound in matlab now how I can process data so I can run the extract features like find peaks,...… and other feature ( I got the feature codes but I to process these first ).
numfiles = 2;
mydata = cell(1, numfiles);
for k = 1:numfiles
myfilenames = sprintf('a%d.wav', k);
mydata{k} = importdata(myfilenames);
end
  1 comentario
sam aldoss
sam aldoss el 14 de Oct. de 2018
my question was how to process the wav files after loading in matlab

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de Oct. de 2018
for k = 1 : numfiles
thisdata = mydata{k};
[peaks{k}, peaklocs{k}] = findpeaks(thisdata);
end
  6 comentarios
Walter Roberson
Walter Roberson el 14 de Oct. de 2018
audioread() instead of audioreader()
“Alice: Would you tell me, please, which way I ought to go from here?
The Cheshire Cat: That depends a good deal on where you want to get to.
Alice: I don't much care where.
The Cheshire Cat: Then it doesn't much matter which way you go.
Alice: ...So long as I get somewhere.
The Cheshire Cat: Oh, you're sure to do that, if only you walk long enough.”
sam aldoss
sam aldoss el 15 de Oct. de 2018
thanks

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by