image thumbnail

Gong

version 1.0.0.0 (1.35 KB) by John Gooden
produces a nice gong sound to replace 'beep'

1.5K 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 (2021). 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

Community Treasure Hunt

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

Start Hunting!