Spectrogram Augmenter
Version 1.0.0.0 (1.06 MB) by
Wouter Jansen
Configure and create a spectrogram data augmentation. You can also store it in a datastore for machine learning with automated batching.
Configure and create a spectrogram data augmentation. You can also store it in a datastore for machine learning with automated batching. This implements two classes:
- spectogramDataAugmenter: configure the augmentation for the spectograms. Similar to imageDataAugmenter for images.
- augmentedSpectrogramDatastore: transform batches to augment spectrogram data. Similar to augmentedImageDatastore for images.
The techniques implented are:
- Time warp
- Frequency masking
- Time masking
- Salt and pepper noise
- White noise
- Time shift
The first three filters are from "SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition" by Google Brain and its authors Daniel S. Park, William Chan, Yu Zhang, Chung-Cheng Chiu, Barret Zoph, Ekin D. Cubuk & Quoc V. Le.
Cite As
Wouter Jansen (2026). Spectrogram Augmenter (https://www.mathworks.com/matlabcentral/fileexchange/172765-spectrogram-augmenter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with R2024a and later releases
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
doc
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
|
