Updated 19 Apr 2021
Matlab GUI which implements Zafar's audio player (Zap), featuring some practical functionalities such as a playback line, a select/drag tool, and a synchronized spectrogram.
- zap.m: Matlab GUI which implements Zap.
- audio_file.wav: audio file used for the examples.
Zap implements a simple audio player as a Matlab programmatic GUI. The user can open a WAV or MP3 file, play/stop the audio, select/drag a region to play, and zoom and pan on the axes. The code is self-explanatory, heavily commented, and fully modular. Parts of the code can be helpful for other GUIs, especially the playtool function which displays a playback line as the playback is in progress and the selecttool function which allows the user to create a selection line or region on the audio to play.
See also: https://github.com/zafarrafii/Zap-Matlab
Zafar (2021). Zap-Matlab (https://github.com/zafarrafii/Zap-Matlab/releases/tag/v1.0), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!