deep learning for audio applications
developing audio applications with deep learning typically includes creating and accessing data sets, preprocessing and exploring data, developing predictive models, and deploying and sharing applications. matlab® provides toolboxes to support each stage of the development.
while audio toolbox™ supports each stage of the deep learning workflow, its principal contributions are to access and create data and preprocess and explore data.
access and create data
deep learning networks perform best when you have access to large training data sets. however, the diversity of audio, speech, and acoustic signals, and a lack of large well-labeled data sets, makes accessing large training sets difficult. when using deep learning methods on audio files, you may need to develop new data sets or expand on existing ones. you can use the app to help you enlarge or create new labeled data sets.
once you have an initial data set, you can enlarge it by applying augmentation
techniques such as pitch shifting, time shifting, volume control, and noise
addition. the type of augmentation you want to apply depends on the relevant
characteristics for your audio, speech, or acoustic application. for example, pitch
shifting (or vocal tract perturbation) and time stretching are
typical augmentation techniques for automatic speech recognition (asr). for
far-field asr, augmenting the training data by using artificial reverberation is
common. audio toolbox provides audiodataaugmenter
to help you apply augmentations deterministically
or probabilistically.
the training data used in deep learning workflows is typically too large to fit in
memory. accessing data efficiently and performing common deep learning tasks (such
as splitting a data set into train, validation, and test sets) can quickly become
unmanageable. audio toolbox provides audiodatastore
to help you manage and load large data sets.
preprocess and explore data
preprocessing audio data includes tasks like resampling audio files to a consistent sample rate, removing regions of silence, and trimming audio to a consistent duration. you can accomplish these tasks by using matlab, signal processing toolbox™, and dsp system toolbox™. audio toolbox provides additional audio-specific tools to help you perform preprocessing, such as and .
audio is highly dimensional and contains redundant and often unnecessary
information. historically, mel-frequency cepstral coefficients () and low-level
features, such as the zero-crossing rate and spectral shape descriptors, have been
the dominant features derived from audio signals for use in machine learning
systems. machine learning systems trained on these features are computationally
efficient and typically require less training data. audio toolbox provides audiofeatureextractor
so that you can efficiently extract audio
features.
advances in deep learning architectures, increased access to computing power, and
large and well-labeled data sets have decreased the reliance on hand-designed
features. state-of-the-art results are often achieved using mel spectrograms
(), linear spectrograms, or raw audio waveforms.
audio toolbox provides audiofeatureextractor
so that you can extract multiple auditory
spectrograms, such as the mel spectrogram, gammatone spectrogram, or bark
spectrogram, and pair them with low-level descriptors. using
audiofeatureextractor
enables you to systematically determine
audio features for your deep learning model. alternatively, you can use the
function to quickly extract just the mel spectrogram.
audio toolbox also provides the modified discrete cosine transform (),
which returns a compact spectral representation without any loss of
information.
example applications and workflows
choosing features, deciding what kind of augmentations and preprocessing to apply, and designing a deep learning model all depend on the nature of the training data and the problem you want to solve. audio toolbox provides examples that illustrate deep learning workflows adapted to different data sets and audio applications. the table lists audio deep learning examples by network type (convolutional neural network, fully connected neural network, or recurrent neural network) and problem category (classification, regression, or sequence-to-sequence).
cnn or fc | lstm, bilstm, or gru | |||||||||||||||||||||||||
classification |
|
| ||||||||||||||||||||||||
regression or sequence-to-sequence |
|
|
references
[1] purwins, h., b. li, t. virtanen, j. schülter, s. y. chang, and t. sainath. "deep learning for audio signal processing." journal of selected topics of signal processing. vol. 13, issue 2, 2019, pp. 206–219.
see also
audiofeatureextractor
| audiodataaugmenter
| audiodatastore
|
related topics
- (deep learning toolbox)
- (deep learning toolbox)