Gong

produces a nice gong sound to replace 'beep'
1.6K Downloads
Updated 26 Aug 2008

View License

Replacement of beep-function. Gong sounds a lot nicer then 'beep' (that's my humble opinion). You may adjust the frequency, volume and duration of the gong-sound to distinguish the place in your script were the gong is sound.

The call is very simple:
gong
gong(vol)
gong(vol,freq) or
gong(vol,freq,duration)

default the gong sounds at 440 Hz (the standard musical a-note)

Enjoy!

Cite As

John Gooden (2026). Gong (https://www.mathworks.com/matlabcentral/fileexchange/21231-gong), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0