- From: Yehonathan Sharvit <viebel@gmail.com>
- Date: Wed, 23 Jul 2014 17:08:28 +0300
- To: public-audio-dev@w3.org
- Cc: Philippe Cohen <philc@audyx.com>, Yves Lasry <yves@audyx.com>
Received on Friday, 25 July 2014 11:35:17 UTC
I cannot find in the API (http://webaudio.github.io/web-audio-api/) a way to restart an AudioBufferSourceNode. The “loop” mode is not appropriate as I need to restart the node before it ends. I have tried to implement it by doing: 1. stop 2. recreate the node from the buffer 3. start But then there is a fraction of second with no sound making the transition not smooth. What is the best way to restart an AudioBufferSourceNode?
Received on Friday, 25 July 2014 11:35:17 UTC