Audio Feature Extraction from .MAT file instead of .Wav files
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Jonas
am 2 Jul. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Discrete Fourier and Cosine Transforms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!