Gong

produces a nice gong sound to replace 'beep'

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/21231-gong), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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