AudioContext life cycle

Creating, suspending, resuming and closing AudioContexts

This will create an AudioContext and a few nodes to play some sounds

This will suspend the existing AudioContext. Sounds should be paused.

This will resume the paused AudioContext. Sounds should resume where they were left.

This will close the existing AudioContext. Sounds should stop and resources associated to the context be disposed of.