Play Wave File

Creates a visual interface to fully or selectively play a portion of a wave file.

You are now following this Submission

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 (2026). Play Wave File (https://www.mathworks.com/matlabcentral/fileexchange/7408-play-wave-file), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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