audioFeatureExtractor function not found

4 visualizaciones (últimos 30 días)
Moomal Tariq
Moomal Tariq el 4 de Nov. de 2019
Editada: Muge Altingeyik el 29 de Nov. de 2021
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.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 4 de Nov. de 2019
This function is introduced in R2019b.
https://www.mathworks.com/help/releases/R2019b/audio/ref/audiofeatureextractor.html

Más respuestas (3)

Moomal Tariq
Moomal Tariq el 4 de Nov. de 2019
Is there anyway to solve this problem which doesnt include downloading new version?

Brian Hemmat
Brian Hemmat el 10 de Dic. de 2019
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);

Muge Altingeyik
Muge Altingeyik el 29 de Nov. de 2021
Editada: Muge Altingeyik el 29 de Nov. de 2021
Hello guys, I am using R2021b version. When I used this function 'audioFeatureExtractor', I met some error. Also, I have audio toolbox in MATLAB.
Error:
Unable to resolve the name
matlabshared.fusionutils.internal.setProperties.
Error in audioFeatureExtractor (line 385)
matlabshared.fusionutils.internal.setProperties(obj,length(varargin),varargin{:});
Can anyone help me?

Categorías

Más información sobre Audio I/O and Waveform Generation 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!

Translated by