WebAudio Offline context rendering promise Sample

Available in Chrome 42+

The OfflineAudioContext.startRendering method renders audio to an AudioBuffer potentially faster than real-time. This method returns a Promise which is fulfilled when the rendering is complete. It is further documented in the Web Audio API.

Merge two tones, display information about the final AudioBuffer, and plays it.