Chapter 183: Controlling playback speed
Core Idea
You can use the playbackRate prop to control the speed of the audio.
Key Concepts
- Controlling playback speed: You can use the playbackRate prop to control the speed of the audio..
Code Examples
export const MyComposition = () => {
return (
<AbsoluteFill>
<Audio src={staticFile('audio.mp3')} playbackRate={2} />
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for Controlling playback speed from the official docs.
Key Takeaways
- Understand controlling playback speed when working with Controlling playback speed.
Connects To
- Animatedimage: related page in the Assets & Media section.
- Delaying: related page in the Assets & Media section.
- Exporting: related page in the Assets & Media section.