Skip to content

🎥 Make videos programmatically with React

Music visualization template: Use spectrum as default template

Jonny Burger5378f8d4ec33
diff --git a/packages/template-music-visualization/src/Root.tsx b/packages/template-music-visualization/src/Root.tsx
index c0020fe124..ff58a1bd9d 100644
--- a/packages/template-music-visualization/src/Root.tsx
+++ b/packages/template-music-visualization/src/Root.tsx
@@ -25,11 +25,12 @@ export const RemotionRoot: React.FC = () => {
textColor: "white",
// visualizer settings
visualizer: {
- type: "oscilloscope",
+ type: "spectrum" as const,
bassOverlay: true,
color: "#0b84f3",
- windowInSeconds: 1,
- amplitude: 1.3,
+ linesToDisplay: 65,
+ mirrorWave: false,
+ numberOfSamples: "512" as const,
},
}}
// Determine the length of the video based on the duration of the audio file