Audio Feature Extraction from .MAT file instead of .Wav files
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Giridhar sai pavan kumar Konduru
el 2 de Jul. de 2021
Respondida: Jonas
el 2 de Jul. de 2021
Hello,
I have snore signal that is sampled at 10hz stored in a .mat files. But in order to extract audio features such as MFCC. we need audioin mfcc(audioIn,fs) which is obtained from a wav file [audioIn,fs] = audioread(wavfile.wav)
Is there a way where can I directly compute MFCC from the .mat files or Do i need to convert each .mat file into .wav file and then calculate audioIn.
Also , I am not familiar how to convert .mat files in .wav files keeping the sampling rate (10hz) common. Could somebody help
Thank you.
0 comentarios
Respuestas (1)
Jonas
el 2 de Jul. de 2021
if you have already stored the audio data in a mat file (meaning you have it already in an ordinary matlab variable) you can just use the mffc() directly with that variable. audioread() just converts wav to a normal matlab variable which you, in this case, already have
0 comentarios
Ver también
Categorías
Más información sobre Discrete Fourier and Cosine Transforms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!