Bug 69725 - Ability to play sound reversed (playbackRate to accept negative parameter)
: Ability to play sound reversed (playbackRate to accept negative parameter)
Status: UNCONFIRMED
Product: WebKit
Classification: Unclassified
Component: Web Audio
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-09 09:18 PDT by Eiji Kitamura
Modified: 2013-06-06 00:36 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eiji Kitamura 2011-10-09 09:18:04 PDT
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 Chris Rogers 2012-04-18 12:11:16 PDT
This is for AudioBufferSourceNode
Comment 2 Chris Rogers 2012-04-18 12:16:32 PDT
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 Raymond Toy 2012-04-19 16:24:24 PDT
(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 Allen 2012-12-22 22:56:37 PST
What is the ETA on this feature?  Really need this for rewinding.
Comment 5 boblemarin 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 Allen 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.