How can I play audio in reverse with web audio API?

后端 未结 4 1808
野的像风
野的像风 2021-01-02 03:08

How can I play audio in reverse with the web audio API? I can\'t seem to find anything in the API docs...

4条回答
  •  情话喂你
    2021-01-02 03:33

    if you have an AudioBufferSourceNode element:

    audioBufferSourceNode.playbackRate = -1;
    

    -EDIT-

    Webkit doesn't have that feature.

    Source: https://bugs.webkit.org/show_bug.cgi?id=69725

提交回复
热议问题