Play Wave File

Creates a visual interface to fully or selectively play a portion of a wave file.
7.1K Downloads
Updated 28 Apr 2008

No License

This is a simple GUI interface to create a visual interface to selectively play a portion of a wave file. In addition it is a simple tutor to show how to modify the main toolbar in a figure and add your own buttons.

Details:
This script will load a wave file (mono or stereo) and creates a figure with showing a plotting of the wave data. If the wave file has more than one channel then separate figures for each channel will be created. Each figure is created with additional toolbar buttons for playing the wave data 'fully' or a 'selected region' in the respective channel.

Cite As

Laine Berhane Kahsay (2024). Play Wave File (https://www.mathworks.com/matlabcentral/fileexchange/7408-play-wave-file), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Fixed a bug in pw.m on line 127
change "h.x = x(:,1);" to "h.x = x(:,i);"