Easy Tutorial
❮ Event Bubbles Jsref Parseint ❯

Audio playbackRate Property

Audio Object

Example

Set the audio to play at a slower speed:


Definition and Usage

The playbackRate property sets or returns the current playback speed of the audio.


Browser Support

All major browsers support the playbackRate property.

Note: Internet Explorer 9 and earlier versions do not support the playbackRate property.


Syntax

Return the playbackRate property:

Set the playbackRate property:

Property Values

Value Description
playbackspeed Indicates the current playback speed of the audio. Example values: 1.0 normal speed<br> 0.5 half speed (slower)<br> 2.0 double speed (faster)<br> -1.0 backward, normal speed<br> -0.5 backward, half speed

Technical Details

Return Value: Numeric value, representing the current playback speed of the audio.
Default Value 1.0
--- ---

More Examples

Example

Set the audio to play at a faster speed:


❮ Event Bubbles Jsref Parseint ❯