🎥 Make videos programmatically with React
Update music.mdx
Jonny Burger8077f600f163
diff --git a/packages/docs/docs/recorder/editing/music.mdx b/packages/docs/docs/recorder/editing/music.mdxindex a232f6c661..690c37822d 100644--- a/packages/docs/docs/recorder/editing/music.mdx+++ b/packages/docs/docs/recorder/editing/music.mdx@@ -1,17 +1,31 @@-# Background Music+# Music-To overlay your videos with music, you can either add music yourself or use one of the three soundtracks provided by the Remotion Recorder.+To underlay your video with music, use one of the three soundtracks provided by the Remotion Recorder or add your own.++## Add music++In the default props editor in the right sidebar, you may choosea value for `music` for each scene:++- `"none"` - No music+- `"previous"` - Same setting as in the previous scene+- `"soft"`, `"euphoric"`, `"epic"` - One of the three provided soundtracks## Provided Soundtracks-The Remotion Recorder comes with three songs you can use for free. The songs (provided by [Utope Music](https://utopemusic.com/)) are labeld after their moods `soft`, `euphoric` and `epic`, and can be selected in the right sidebar of the Remotion Studio.+Included in the Remotion Recorder are three music tracks that you can use in your videos:++- "Nature" (2:34, ID `"soft"`)+- "I Woke Up In A Dream" (2:23, ID `"euphoric"`)+- "Rhythmic Reverie" (3:29, ID `"epic"`)++All tracks were produced by [Utope Music](https://www.instagram.com/utopemusic) exclusively for the Recorder and are cleared for your videos produced by the Recorder.## Add your background musicTo add background music, you first have to add songs to the `public/sounds` folder.Then register the track in `remotion/layout/music.ts`.-```tsx filename="remotion/layout/sounds.ts"+```tsx filename="remotion/config/sounds.ts"export const music = z.enum(["previous","none",@@ -42,3 +56,4 @@ If you want to change the music, select a different track for a scene and it wil## Stopping musicIf you want to stop the music, select `none` as track.+import { TimelineTracks } from "../../../../studio/src/components/Timeline/TimelineTracks"