YouTip LogoYouTip

Prop Audio Playbackrate

# Audio playbackRate Property [![Image 8: Audio Object Reference](#) Audio Object](#) ## Example Set the audio to play at a slow speed: document.getElementById("myAudio").playbackRate = 0.5; [Try it Yourself Β»](#) * * * ## Definition and Usage The playbackRate property sets or returns the current playback speed of the audio. * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The playbackRate property is supported in all major browsers. **Note:** Internet Explorer 9 and earlier versions do not support the playbackRate property. * * * ## Syntax Return the playbackRate property: _audioObject_.playbackRate Set the playbackRate property: _audioObject_.playbackRate=_playbackspeed_ ## Property Values | Value | Description | | --- | --- | | _playbackspeed_ | Indicates the current playback speed of the audio. Example values: * 1.0 Normal speed * 0.5 Half speed (slower) * 2.0 Double speed (faster) * -1.0 Backwards, normal speed * -0.5 Backwards, half speed | ## Technical Details | Return Value: | A number value indicating the current playback speed of the audio. | | --- | | Default Value | 1.0 | * * * ## More Examples ## Example Set the audio to play at a fast speed: document.getElementById("myaudio").playbackRate = 2; [Try it Yourself Β»](#) * * Audio Object](#)
← Prop Audio PlayedProp Audio Paused β†’