Bug 69725 - Ability to play sound reversed (playbackRate to accept negative parameter)
: Ability to play sound reversed (playbackRate to accept negative parameter)
Status: UNCONFIRMED
: WebKit
Web Audio
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2011-10-09 09:18 PST by
Modified: 2013-06-06 00:36 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-10-09 09:18:04 PST
On HTML5 Audio Element, playbackRate attribute changes speed of sound playback. With negative parameter, it plays reversed.
I'd like to request same functionality on Web Audio API. This enables WAA to emulate scratch noise on turntable.
------- Comment #1 From 2012-04-18 12:11:16 PST -------
This is for AudioBufferSourceNode
------- Comment #2 From 2012-04-18 12:16:32 PST -------
Let's try to think how it interacts with the current noteOn() and noteGrainOn() API.  For example, what if we want to play a grain backwards.  Then it will have to start playing back at the end of the grain.  Let's try to make sure we get the API correct before implementing a quick fix.  I think it will be useful, but let's do it right.
------- Comment #3 From 2012-04-19 16:24:24 PST -------
(In reply to comment #2)
> Let's try to think how it interacts with the current noteOn() and noteGrainOn() API.  For example, what if we want to play a grain backwards.  Then it will have to start playing back at the end of the grain.  Let's try to make sure we get the API correct before implementing a quick fix.  I think it will be useful, but let's do it right.

That would be what I would want and expect with noteGrainOn() and a negative playbackRate: play just the selected grain backwards.
------- Comment #4 From 2012-12-22 22:56:37 PST -------
What is the ETA on this feature?  Really need this for rewinding.
------- Comment #5 From 2013-02-08 03:45:36 PST -------
How can we help to make this bug CONFIRMED ?
It looks pretty clear that it is not working the way we expect it to.
------- Comment #6 From 2013-02-08 03:48:36 PST -------
I'd like to know as well.  Currently you can't set video.playbackRate to a negative number.