Generate Animated GIF Files for Plotting Audio Data
Theodoros Giannakopoulos
Department of Informatics and Telecommunications
Univarsity of Athens, Greece
website:
www.di.uoa.gr/~tyiannak

The provided m-file:

M-file description:

function createAnimatedGifFromWav(wavFileName, windowLength, Width, framesPerSec)

ARGUMENTS:
- 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]

Below, an example of a generated .gif file, from a 30 second wav file is presented. 2 second window has been used, while the frame per second rate is 10.