W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

replay AudioBufferSourceNode ?

From: Jerome Etienne <jerome.etienne@gmail.com>
Date: Tue, 20 Mar 2012 08:29:26 +0100
Message-ID: <CAN_PVv7GgiT9gR1_yZCZn8qOkz=U5LqXvMang1z_ObCKrOJ6JA@mail.gmail.com>
To: public-audio@w3.org

As i understand AudioBufferSourceNode Interface[1], it isn't possible
to play several time a bufferSource (correct me if im wrong).
Nevertheless in a game, a sound is played many-many times. So
BufferSource javascript object needs to be recreated, fully
reconfigured and reconnect every time you play it. This is rather
cumbersome for the developer. How can i clone an existing BufferSource
? maybe somebody did a javascript function on top of the spec ?


[1] https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBufferSourceNode-section
Received on Tuesday, 20 March 2012 07:29:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:58 UTC