Sound system beep on error
This procedure shows you how to sound a system beep using a front call.
About this task
The function that sounds the beep is defined in a JavaScript module that implements
your GBC custom front call functions. This function can be used to alert the user
when an ERROR
is thrown by generating a beep sound via a front call
to the function.
The function creates nodes for the AudioContext Interface of the Web Audio API specification that processes and synthesizes audio in web applications. These nodes generate the audio and route the output to the system device that produces a signal. For more information on the Web Audio API, see https://www.w3.org/TR/webaudio/.