Controlling playback speedv2.2
You can use the playbackRate prop to control the speed of the audio.
1is the default.0.5slows down the audio so it's twice as long2speeds up the audio so it's twice as fast- Google Chrome supports playback rates between
0.0625and16.
MyComp.tsxtsximport {AbsoluteFill ,Html5Audio ,staticFile } from 'remotion';export constMyComposition = () => {return (<AbsoluteFill ><Html5Audio src ={staticFile ('audio.mp3')}playbackRate ={2} /></AbsoluteFill >);};