Generate Animated GIF Files for Plotting Audio Data

This m-file generates a animated GIF file that visualizes audio data.
4,5K téléchargements
Mise à jour 20 mai 2008

Afficher la licence

------------------------------------
Theodoros Giannakopoulos
http://www.di.uoa.gr/~tyiannak
------------------------------------

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)

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]

------------------------------------
Theodoros Giannakopoulos
http://www.di.uoa.gr/~tyiannak
------------------------------------

Citation pour cette source

Theodoros Giannakopoulos (2024). Generate Animated GIF Files for Plotting Audio Data (https://www.mathworks.com/matlabcentral/fileexchange/19933-generate-animated-gif-files-for-plotting-audio-data), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Animation dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0