Revert "Revert "updated changes in WebAudio API""

This reverts commit a79d7943c4bdb5c7e95b26adcfcf0ce124ca5a56.