NAME
wake — start the sound engine on the first touch
SYNOPSIS
wake()
DESCRIPTION
Browsers allow sound only after a person touches the page. wake() makes the Web Audio context on the first touch, or resumes it if the browser suspended it, so that the creatures' voices can play. It is called by every key, tab and control.
RETURN VALUE
Nothing.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
