View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Generate Animated GIF Files for Plotting Audio Data

3.5 | 2 ratings Rate this file 7 Downloads (last 30 days) File Size: 1.73 MB File ID: #19933 Version: 1.0
image thumbnail

Generate Animated GIF Files for Plotting Audio Data



15 May 2008 (Updated )

This m-file generates a animated GIF file that visualizes audio data.

| Watch this File

File Information

Theodoros Giannakopoulos

The provided m-file:
    * Reads a wav file.
    * Splits the audio data into non-overlapping windows (e.g 1 second).
    * For each window, an image of the audio data and the corresponding spectrogram is created and attached to an animated .gif file.

M-file description:

function createAnimatedGifFromWav(wavFileName, windowLength, Width, framesPerSec)

- wavFileName: the name of the .wav file to read
- windowLength: the length (in seconds) of each window to be plotted in the gif
- Width: the width of the generated .gif file
- framesPerSec: frames per second for the gif annotated file.

NOTE: the generated .gif file's name is [wavFileName_animatedGIF.gif]

Theodoros Giannakopoulos

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
05 Aug 2016 Subba Ramaiah Vootla

18 Jun 2008 I. P.

Very interesting.

Contact us