Skip to content

🎥 Make videos programmatically with React

update docs

Jonny Burger0b456a84f451
diff --git a/packages/docs/docs/audio.md b/packages/docs/docs/audio.md
index b40bb23cef..ce7117a465 100644
--- a/packages/docs/docs/audio.md
+++ b/packages/docs/docs/audio.md
@@ -127,7 +127,7 @@ export const MyVideo = () => {
### `toneFrequency`<AvailableFrom v="4.0.47"/>
-Allows you to adjust the pitch of the audio. It accepts a number between `0.01` and `2`, where `1` represents the original pitch. Values less than `1` will decrease the pitch, while values greater than `1` will increase it.
+Allows you to adjust the pitch of the audio - will only be applied during rendering. It accepts a number between `0.01` and `2`, where `1` represents the original pitch. Values less than `1` will decrease the pitch, while values greater than `1` will increase it.
For example, a `toneFrequency` of 0.5 would lower the pitch by half, and a `toneFrequency` of `1.5` would increase the pitch by 50%.
`toneFrequency` should be a positive number between `0.01` (representing the lowest assignable pitch) and `2` (representing the highest assignable pitch). If `toneFrequency` is not specified or null, it defaults to `1`, maintaining the original pitch.
diff --git a/packages/docs/docs/offthreadvideo.md b/packages/docs/docs/offthreadvideo.md
index e2bb2c6172..14d2e4e763 100644
--- a/packages/docs/docs/offthreadvideo.md
+++ b/packages/docs/docs/offthreadvideo.md
@@ -64,6 +64,12 @@ With `png`, transparent videos (VP8, VP9, ProRes) can be displayed, however it i
Make values for [`volume`](/docs/video#volume) greater than `1` result in amplification during renders.
During Preview, the volume will be limited to `1`, since the browser cannot amplify audio.
+### `toneFrequency`<AvailableFrom v="4.0.47"/>
+
+Allows you to adjust the pitch of the audio - will only be applied during rendering. It accepts a number between `0.01` and `2`, where `1` represents the original pitch. Values less than `1` will decrease the pitch, while values greater than `1` will increase it.
+For example, a `toneFrequency` of 0.5 would lower the pitch by half, and a `toneFrequency` of `1.5` would increase the pitch by 50%.
+`toneFrequency` should be a positive number between `0.01` (representing the lowest assignable pitch) and `2` (representing the highest assignable pitch). If `toneFrequency` is not specified or null, it defaults to `1`, maintaining the original pitch.
+
### `onError`
Handle an error playing the video. From v3.3.89, if you pass an `onError` callback, then no exception will be thrown. Previously, the error could not be caught.
diff --git a/packages/docs/docs/video.md b/packages/docs/docs/video.md
index 83ae20d9a0..63685a8187 100644
--- a/packages/docs/docs/video.md
+++ b/packages/docs/docs/video.md
@@ -187,6 +187,12 @@ In the [Studio](/docs/terminology#remotion-studio) or in the [Remotion Player](/
Make values for [`volume`](#volume) greater than `1` result in amplification during renders.
During Preview, the volume will be limited to `1`, since the browser cannot amplify audio.
+### `toneFrequency`<AvailableFrom v="4.0.47"/>
+
+Allows you to adjust the pitch of the audio - will only be applied during rendering. It accepts a number between `0.01` and `2`, where `1` represents the original pitch. Values less than `1` will decrease the pitch, while values greater than `1` will increase it.
+For example, a `toneFrequency` of 0.5 would lower the pitch by half, and a `toneFrequency` of `1.5` would increase the pitch by 50%.
+`toneFrequency` should be a positive number between `0.01` (representing the lowest assignable pitch) and `2` (representing the highest assignable pitch). If `toneFrequency` is not specified or null, it defaults to `1`, maintaining the original pitch.
+
### `onError`
Handle an error playing the video. From v3.3.89, if you pass an `onError` callback, then no exception will be thrown. Previously, the error could not be caught.