Extract Audio Features
Streamline audio feature extraction in the Live Editor
The Extract Audio Features task enables you to configure an optimized feature extraction pipeline by selecting features and parameters graphically. You can reuse the output from Extract Audio Features to apply feature extraction to entire data sets. The task automatically generates MATLAB® code for your live script.
Using this task, you can:
Extract features of audio signals common to machine learning and deep learning workflows.
Create a feature extraction object for use with large data sets.
Visualize extracted audio features.
To learn more about interactive tasks in live scripts, see Add Interactive Tasks to a Live Script.
Open the Task
On the Live Editor tab, select Task > Extract Audio Features.
In a code block in the script, type a relevant keyword, such as
feature. Select Extract Audio Features from the suggested command completions.
The Extract Audio Features task provides a graphical user
interface to configure an
audioFeatureExtractor object. For details on the
configuration parameters, see
audioFeatureExtractor. The task accepts audio data in the same format as the input
Version HistoryIntroduced in R2020a
R2023b: Support for Slaney-style mel scale
Under Specify feature extractor parameters, select
Slaney for the Mel style parameter of
Mel spectrum to use the Slaney-style mel scale.
R2023b: Extract features from audio signals stored in
object for Input audio data to extract features from all audio files in
R2022b: Visualize Audio Signal and Extracted Features
Select Plot features and Plot audio under the Display results section to visualize the extracted features and input audio signal, respectively.