MATLAB Answers

audioFeatureExtractor function not found

22 ビュー (過去 30 日間)
Moomal Tariq
Moomal Tariq 2019 年 11 月 4 日
回答済み: Brian Hemmat 2019 年 12 月 10 日
I am using Matlab 2018b
[audioIn,fs] = audioread("C:\Users\mooma\Desktop\Audio_Speech_Actors_01-24\Actor_01\1.wav");
aFE = audioFeatureExtractor( "SampleRate",fs,"Window",hamming(round(0.03*fs),"periodic"), "OverlapLength",round(0.02*fs),"mfcc",true);
features = extract(aFE,audioIn);
idx = info(aFE);
Whenever I run this code, an error comes as Undefined function or variable 'audioFeatureExtractor'
Can anyone help me with this . I have to submit project next week.

  0 件のコメント

Sign in to comment.

採用された回答

Fangjun Jiang
Fangjun Jiang 2019 年 11 月 4 日
This function is introduced in R2019b.
https://www.mathworks.com/help/releases/R2019b/audio/ref/audiofeatureextractor.html

  0 件のコメント

Sign in to comment.

その他の回答 (2 件)

Moomal Tariq
Moomal Tariq 2019 年 11 月 4 日
Is there anyway to solve this problem which doesnt include downloading new version?

  1 件のコメント

Fangjun Jiang
Fangjun Jiang 2019 年 11 月 4 日
No. I don't think so.

Sign in to comment.


Brian Hemmat
Brian Hemmat 2019 年 12 月 10 日
If you are only interested in MFCC extraction, you can use the mfcc function, which Audio Toolbox introduced in R2018a. Here's how you would use it to accomplish the same thing as in your example:
[audioIn,fs] = audioread("C:\Users\mooma\Desktop\Audio_Speech_Actors_01-24\Actor_01\1.wav");
coeffs = mfcc(audioIn,fs);

  0 件のコメント

Sign in to comment.


Translated by