audio.removeAudio element

getAudio(id).remove()

Removes the <audio> element from the screen, which contained buttons to control playback and volume.

Example:

newAudio("beep", "test.mp3")
    .print()
    .wait()
,
getAudio("beep")
    .remove()

Adds an interface to start/stop playing the audio file test.mp3 onto the screen, and removes it from the screen after the audio has been fully played.