Audio Feature Extraction from .MAT file instead of .Wav files

조회 수: 5 (최근 30일)
Giridhar sai pavan kumar Konduru
답변: Jonas 2021년 7월 2일
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.

답변 (1개)

Jonas
Jonas 2021년 7월 2일
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

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by