Skip to content

🎥 Make videos programmatically with React

Elements: Polish existing starter designs (#11248)

Igor Samokhovets652c04c76d04
diff --git a/packages/docs/elements/audio/mirrored-spectrum/index.mdx b/packages/docs/elements/audio/mirrored-spectrum/index.mdx
index c85053a920..b1fded9686 100644
--- a/packages/docs/elements/audio/mirrored-spectrum/index.mdx
+++ b/packages/docs/elements/audio/mirrored-spectrum/index.mdx
@@ -1,12 +1,12 @@
---
-title: Mirrored Audio Spectrum
-description: A mirrored frequency spectrum that works well for visualizing voices and podcasts.
+title: Mirrored Spectrum
+description: Suitable for both music and speech visualization.
image: https://remotion.media/elements/audio-mirrored-spectrum-preview.png
---
import {ElementPage} from '@site/src/components/Elements/ElementPage';
import {getElementDefinition} from '@site/src/components/Elements/element-utils';
-# Mirrored Audio Spectrum
+# Mirrored Spectrum
<ElementPage definition={getElementDefinition('audio/mirrored-spectrum')} sourceFile="./mirrored-spectrum.tsx" />
diff --git a/packages/docs/elements/audio/mirrored-spectrum/mirrored-spectrum.tsx b/packages/docs/elements/audio/mirrored-spectrum/mirrored-spectrum.tsx
index f31ad5f8ff..25cbc7f8f1 100644
--- a/packages/docs/elements/audio/mirrored-spectrum/mirrored-spectrum.tsx
+++ b/packages/docs/elements/audio/mirrored-spectrum/mirrored-spectrum.tsx
@@ -31,7 +31,7 @@ const mirroredAudioSpectrumSchema = {
},
barColor: {
type: 'color',
- default: '#0b84f3',
+ default: '#2563eb',
description: 'Bar color',
},
numberOfBars: {
@@ -134,7 +134,7 @@ const MirroredAudioSpectrumInner = forwardRef<
(
{
audioSrc = 'https://remotion.media/elements/remotion-made-this-picture-move.mp3',
- barColor = '#0b84f3',
+ barColor = '#2563eb',
controls,
name,
numberOfBars = 65,
diff --git a/packages/docs/elements/audio/oscilloscope/audio-oscilloscope.tsx b/packages/docs/elements/audio/oscilloscope/audio-oscilloscope.tsx
index 6faeb287fa..7eee9dea22 100644
--- a/packages/docs/elements/audio/oscilloscope/audio-oscilloscope.tsx
+++ b/packages/docs/elements/audio/oscilloscope/audio-oscilloscope.tsx
@@ -36,7 +36,7 @@ const audioOscilloscopeSchema = {
},
lineColor: {
type: 'color',
- default: '#0b84f3',
+ default: '#2563eb',
description: 'Waveform color',
},
lineWidth: {
@@ -160,7 +160,7 @@ const AudioOscilloscopeInner = forwardRef<
amplitude = 2,
audioSrc = 'https://remotion.media/elements/remotion-made-this-picture-move.mp3',
controls,
- lineColor = '#0b84f3',
+ lineColor = '#2563eb',
lineWidth = 6,
name,
style,
diff --git a/packages/docs/elements/audio/oscilloscope/index.mdx b/packages/docs/elements/audio/oscilloscope/index.mdx
index b398beec83..1c4ed8ccaa 100644
--- a/packages/docs/elements/audio/oscilloscope/index.mdx
+++ b/packages/docs/elements/audio/oscilloscope/index.mdx
@@ -1,12 +1,12 @@
---
-title: Audio Oscilloscope
-description: An oscilloscope waveform for visualizing voices, podcasts, and other audio.
+title: Oscilloscope
+description: Suitable for visualizing speech.
image: https://remotion.media/elements/audio-oscilloscope-preview.png
---
import {ElementPage} from '@site/src/components/Elements/ElementPage';
import {getElementDefinition} from '@site/src/components/Elements/element-utils';
-# Audio Oscilloscope
+# Oscilloscope
<ElementPage definition={getElementDefinition('audio/oscilloscope')} sourceFile="./audio-oscilloscope.tsx" />
diff --git a/packages/docs/elements/audio/waveform-progress/audio-waveform-progress.tsx b/packages/docs/elements/audio/waveform-progress/audio-waveform-progress.tsx
index e3c0937651..50c2b882b2 100644
--- a/packages/docs/elements/audio/waveform-progress/audio-waveform-progress.tsx
+++ b/packages/docs/elements/audio/waveform-progress/audio-waveform-progress.tsx
@@ -39,7 +39,7 @@ const audioWaveformProgressSchema = {
},
playedColor: {
type: 'color',
- default: '#0b84f3',
+ default: '#2563eb',
description: 'Played color',
},
unplayedColor: {
@@ -188,7 +188,7 @@ const AudioWaveformProgressInner = forwardRef<
durationInFrames = 271,
name,
numberOfBars = 64,
- playedColor = '#0b84f3',
+ playedColor = '#2563eb',
style,
unplayedColor = '#cbd5e1',
...sequenceProps
diff --git a/packages/docs/elements/audio/waveform-progress/index.mdx b/packages/docs/elements/audio/waveform-progress/index.mdx
index 4759b36d0f..c6e4ae09f7 100644
--- a/packages/docs/elements/audio/waveform-progress/index.mdx
+++ b/packages/docs/elements/audio/waveform-progress/index.mdx
@@ -1,12 +1,12 @@
---
-title: Audio Waveform Progress
-description: A full-clip audio waveform with played progress.
+title: Voice Note
+description: A static audio waveform with playback progress.
image: https://remotion.media/elements/audio-waveform-progress-preview.png
---
import {ElementPage} from '@site/src/components/Elements/ElementPage';
import {getElementDefinition} from '@site/src/components/Elements/element-utils';
-# Audio Waveform Progress
+# Voice Note
<ElementPage definition={getElementDefinition('audio/waveform-progress')} sourceFile="./audio-waveform-progress.tsx" />
diff --git a/packages/docs/elements/captions/moving-pill-captions/moving-pill-captions.tsx b/packages/docs/elements/captions/moving-pill-captions/moving-pill-captions.tsx
index 991a5bf45d..779f33b1dc 100644
--- a/packages/docs/elements/captions/moving-pill-captions/moving-pill-captions.tsx
+++ b/packages/docs/elements/captions/moving-pill-captions/moving-pill-captions.tsx
@@ -36,7 +36,7 @@ type MovingPillCaptionsProps = InteractiveBaseProps &
const desiredFontSize = 80;
const fontWeight = '700';
const textColor = '#ffffff';
-const backgroundColor = '#0b84f3';
+const backgroundColor = '#2563eb';
const pillHorizontalPadding = 12;
const pillVerticalPadding = 12;
const pillBorderRadius = 10;
diff --git a/packages/docs/elements/captions/popping-word-captions/popping-word-captions.tsx b/packages/docs/elements/captions/popping-word-captions/popping-word-captions.tsx
index e26d205496..33e386d189 100644
--- a/packages/docs/elements/captions/popping-word-captions/popping-word-captions.tsx
+++ b/packages/docs/elements/captions/popping-word-captions/popping-word-captions.tsx
@@ -35,7 +35,7 @@ type PoppingWordCaptionsProps = InteractiveBaseProps &
const desiredFontSize = 80;
const fontWeight = '700';
const textColor = '#ffffff';
-const highlightColor = '#4da3ff';
+const highlightColor = '#2563eb';
const activeWordScale = 1.03;
const defaultCombineTokensWithinMilliseconds = 800;
const defaultWidth = 682;
diff --git a/packages/docs/elements/captions/word-highlight-captions/word-highlight-captions.tsx b/packages/docs/elements/captions/word-highlight-captions/word-highlight-captions.tsx
index fe356d5fb2..e0ff478fbd 100644
--- a/packages/docs/elements/captions/word-highlight-captions/word-highlight-captions.tsx
+++ b/packages/docs/elements/captions/word-highlight-captions/word-highlight-captions.tsx
@@ -33,7 +33,7 @@ type WordHighlightCaptionsProps = InteractiveBaseProps &
const desiredFontSize = 80;
const fontWeight = '700';
const textColor = '#ffffff';
-const highlightColor = '#4da3ff';
+const highlightColor = '#2563eb';
const defaultCombineTokensWithinMilliseconds = 800;
const defaultWidth = 682;
const defaultHeight = 252;
diff --git a/packages/docs/elements/data/horizontal-bar-chart/horizontal-bar-chart.tsx b/packages/docs/elements/data/horizontal-bar-chart/horizontal-bar-chart.tsx
index 9ab4c9884f..34f2123d29 100644
--- a/packages/docs/elements/data/horizontal-bar-chart/horizontal-bar-chart.tsx
+++ b/packages/docs/elements/data/horizontal-bar-chart/horizontal-bar-chart.tsx
@@ -13,7 +13,7 @@ const data = [
{highlighted: false, label: 'Mehmet', value: 10},
];
-const HEIGHT = Math.round(400 / data.length);
+const HEIGHT = Math.round(500 / data.length);
const maxValue = Math.max(...data.map(({value}) => value));
@@ -34,7 +34,7 @@ const Bar: React.FC<{
name={'Bar'}
style={{
alignItems: 'center',
- backgroundColor: highlighted ? '#2858e8' : '#d1d5db',
+ backgroundColor: highlighted ? '#2563eb' : '#d1d5db',
borderRadius: 12,
boxSizing: 'border-box',
color: highlighted ? '#ffffff' : '#111827',
@@ -103,25 +103,12 @@ export const HorizontalBarChart: React.FC = () => {
flexDirection: 'column',
fontFamily,
fontVariantNumeric: 'tabular-nums',
- gap: 42,
+ gap: 32,
height: '100%',
justifyContent: 'center',
width: '100%',
}}
>
- <Interactive.H1
- name="Title"
- style={{
- fontSize: 76,
- fontWeight: 800,
- letterSpacing: -3.8,
- lineHeight: 0.95,
- margin: 0,
- color: '#111827',
- }}
- >
- Team member pull-ups
- </Interactive.H1>
{data.map(({highlighted, label, value}, index) => (
<div
key={label}
diff --git a/packages/docs/elements/data/line-chart/line-chart.tsx b/packages/docs/elements/data/line-chart/line-chart.tsx
index 0208279457..ec9e2c2af5 100644
--- a/packages/docs/elements/data/line-chart/line-chart.tsx
+++ b/packages/docs/elements/data/line-chart/line-chart.tsx
@@ -17,8 +17,8 @@ const data = [
{label: 'Sep', value: 74},
];
-const CHART_WIDTH = 1400;
-const CHART_HEIGHT = 520;
+const CHART_WIDTH = 1600;
+const CHART_HEIGHT = 640;
const CHART_SIDE_PADDING = 16;
const MIN_VALUE = 20;
const MAX_VALUE = 80;
@@ -56,9 +56,7 @@ export const LineChart: React.FC = () => {
return `${path} L ${x} ${y}`;
}, '');
- const firstPoint = points[0];
const latestPoint = points[points.length - 1];
- const areaPath = `${linePath} L ${latestPoint.x} ${CHART_HEIGHT} L ${firstPoint.x} ${CHART_HEIGHT} Z`;
return (
<Interactive.Div
@@ -82,72 +80,19 @@ export const LineChart: React.FC = () => {
flexDirection: 'column',
fontFamily,
fontVariantNumeric: 'tabular-nums',
- gap: 84,
height: '100%',
justifyContent: 'center',
- translate: '30px 0px',
width: '100%',
}}
>
- <Interactive.H1
- name="Title"
- style={{
- color: '#111827',
- fontSize: 76,
- fontWeight: 800,
- letterSpacing: -3.8,
- lineHeight: 0.95,
- margin: 0,
- translate: '0px -32px',
- }}
- >
- Monthly active users
- </Interactive.H1>
<Interactive.Div
name="Plot area"
style={{
- height: 520,
+ height: CHART_HEIGHT,
marginBottom: 64,
position: 'relative',
}}
>
- <div
- style={{
- color: '#4b5563',
- fontSize: 40,
- fontWeight: 700,
- height: '100%',
- position: 'absolute',
- right: `calc(${100 - (CHART_SIDE_PADDING / CHART_WIDTH) * 100}% + 64px)`,
- top: 0,
- width: 94,
- }}
- >
- {Y_AXIS_VALUES.map((value) => (
- <div
- key={value}
- style={{
- position: 'absolute',
- right: 0,
- top: `${((MAX_VALUE - value) / (MAX_VALUE - MIN_VALUE)) * 100}%`,
- transform: 'translateY(-50%)',
- width: '100%',
- }}
- >
- <Interactive.Div
- name="Y-axis label"
- style={{
- textAlign: 'right',
- translate: '0px 0px',
- whiteSpace: 'nowrap',
- width: '100%',
- }}
- >
- {value}K
- </Interactive.Div>
- </div>
- ))}
- </div>
<svg
viewBox={`0 0 ${CHART_WIDTH} ${CHART_HEIGHT}`}
preserveAspectRatio="none"
@@ -180,23 +125,12 @@ export const LineChart: React.FC = () => {
);
})}
</Interactive.G>
- <Interactive.Path
- name="Area fill"
- d={areaPath}
- fill="#2858e8"
- style={{
- opacity: interpolate(frame, [48, 68], [0, 0.1], {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- }),
- }}
- />
<Interactive.Path
name="Trend line"
d={linePath}
fill="none"
pathLength={1}
- stroke="#2858e8"
+ stroke="#2563eb"
strokeDasharray="1 1"
strokeDashoffset={interpolate(frame, [14, 58], [1, 0], {
easing: Easing.bezier(0, 0, 0.58, 1),
@@ -210,7 +144,7 @@ export const LineChart: React.FC = () => {
<Interactive.G
name="Data points"
fill="#ffffff"
- stroke="#2858e8"
+ stroke="#2563eb"
strokeWidth={8}
>
{points.map(({label, x, y}, index) => (
@@ -279,12 +213,11 @@ export const LineChart: React.FC = () => {
<Interactive.Div
name="Latest value"
style={{
- backgroundColor: '#2858e8',
+ backgroundColor: '#2563eb',
borderRadius: 12,
color: '#ffffff',
fontSize: 44,
fontWeight: 800,
- letterSpacing: -1.5,
lineHeight: 1,
padding: '18px 24px',
scale: `${latestValueProgress}`,
diff --git a/packages/docs/elements/data/pie-chart/pie-chart.tsx b/packages/docs/elements/data/pie-chart/pie-chart.tsx
index 6ce8464c4d..8dd6d656e6 100644
--- a/packages/docs/elements/data/pie-chart/pie-chart.tsx
+++ b/packages/docs/elements/data/pie-chart/pie-chart.tsx
@@ -9,7 +9,7 @@ const {fontFamily} = loadFont('normal', {
const data = [
{
- color: '#2858e8',
+ color: '#2563eb',
foreground: '#ffffff',
label: 'Focused work',
value: 42,
@@ -164,25 +164,11 @@ export const PieChart: React.FC = () => {
flexDirection: 'column',
fontFamily,
fontVariantNumeric: 'tabular-nums',
- gap: 42,
height: '100%',
justifyContent: 'center',
width: '100%',
}}
>
- <Interactive.H1
- name="Title"
- style={{
- color: '#111827',
- fontSize: 76,
- fontWeight: 800,
- letterSpacing: -3.8,
- lineHeight: 0.95,
- margin: 0,
- }}
- >
- How we spend a workday
- </Interactive.H1>
<div
style={{
alignItems: 'center',
@@ -196,8 +182,8 @@ export const PieChart: React.FC = () => {
name="Pie chart"
viewBox="0 0 600 600"
style={{
- flex: '0 0 600px',
- height: 600,
+ flex: '0 0 680px',
+ height: 680,
overflow: 'visible',
scale: interpolate(frame, [8, 40], [0.96, 1], {
easing: Easing.inOut(Easing.cubic),
@@ -205,7 +191,7 @@ export const PieChart: React.FC = () => {
extrapolateRight: 'clamp',
output: 'perceptual-scale',
}),
- width: 600,
+ width: 680,
}}
>
<Interactive.Circle
diff --git a/packages/docs/elements/data/vertical-bar-chart/vertical-bar-chart.tsx b/packages/docs/elements/data/vertical-bar-chart/vertical-bar-chart.tsx
index 1aafc305c9..995c08d627 100644
--- a/packages/docs/elements/data/vertical-bar-chart/vertical-bar-chart.tsx
+++ b/packages/docs/elements/data/vertical-bar-chart/vertical-bar-chart.tsx
@@ -123,7 +123,7 @@ const Bar: React.FC<{
<Interactive.Div
name="Bar"
style={{
- backgroundColor: highlighted ? '#2858e8' : '#b9c0ca',
+ backgroundColor: highlighted ? '#2563eb' : '#b9c0ca',
borderRadius: '12px 12px 0 0',
height: '100%',
width: '100%',
@@ -185,26 +185,11 @@ export const VerticalBarChart: React.FC = () => {
flexDirection: 'column',
fontFamily,
fontVariantNumeric: 'tabular-nums',
- gap: 42,
height: '100%',
justifyContent: 'center',
width: '100%',
}}
>
- <Interactive.H1
- name="Title"
- style={{
- color: '#111827',
- fontSize: 76,
- fontWeight: 800,
- letterSpacing: -3.8,
- lineHeight: 0.95,
- margin: 0,
- translate: '0px 0px',
- }}
- >
- Browser tabs open
- </Interactive.H1>
<div
style={{
alignSelf: 'center',
diff --git a/packages/docs/elements/overlays/location-lower-third/location-lower-third.tsx b/packages/docs/elements/overlays/location-lower-third/location-lower-third.tsx
index c11ee0b2c7..210c96aa29 100644
--- a/packages/docs/elements/overlays/location-lower-third/location-lower-third.tsx
+++ b/packages/docs/elements/overlays/location-lower-third/location-lower-third.tsx
@@ -2,28 +2,9 @@ import React from 'react';
import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
const location = 'Berlin, Germany';
-const venue = 'LocalFirstConf, July 14';
export const LocationLowerThird: React.FC = () => {
const frame = useCurrentFrame();
- const visibleLocationCharacters = Math.floor(
- interpolate(
- frame,
- [14, 38, 88, 108],
- [0, location.length, location.length, 0],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- },
- ),
- );
- const visibleVenueCharacters = Math.floor(
- interpolate(frame, [27, 54, 82, 102], [0, venue.length, venue.length, 0], {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- }),
- );
-
return (
<Interactive.Div
name="Container"
@@ -76,7 +57,7 @@ export const LocationLowerThird: React.FC = () => {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
})}
- stroke="#1d4ed8"
+ stroke="#2563eb"
strokeDasharray="1"
strokeDashoffset={interpolate(
frame,
@@ -113,6 +94,7 @@ export const LocationLowerThird: React.FC = () => {
height: 132,
display: 'flex',
flexDirection: 'column',
+ justifyContent: 'center',
}}
>
<div
@@ -120,24 +102,41 @@ export const LocationLowerThird: React.FC = () => {
height: 82,
display: 'flex',
alignItems: 'center',
- overflow: 'hidden',
}}
>
<Interactive.Div
+ cropRight={interpolate(frame, [14, 38, 88, 108], [1, 0, 0, 1], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+
+ easing: [
+ Easing.spring({
+ damping: 200,
+ mass: 1,
+ stiffness: 100,
+ allowTail: true,
+ durationRestThreshold: 0.02,
+ overshootClamping: false,
+ }),
+ Easing.linear,
+ Easing.spring({
+ damping: 200,
+ mass: 1,
+ stiffness: 100,
+ allowTail: true,
+ durationRestThreshold: 0.02,
+ overshootClamping: false,
+ }),
+ ],
+ })}
name="Location"
dir="auto"
style={{
minWidth: 0,
- maxWidth: 440,
- overflow: 'hidden',
color: '#18181b',
fontSize: 54,
fontWeight: 700,
letterSpacing: -1,
- lineHeight: 1,
- clipPath: `inset(0 ${
- 100 - (visibleLocationCharacters / location.length) * 100
- }% 0 0)`,
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
opacity: interpolate(frame, [14, 22, 98, 110], [0, 1, 1, 0], {
@@ -149,41 +148,6 @@ export const LocationLowerThird: React.FC = () => {
{location}
</Interactive.Div>
</div>
-
- <div
- style={{
- minHeight: 0,
- flex: 1,
- display: 'flex',
- alignItems: 'center',
- overflow: 'hidden',
- }}
- >
- <Interactive.Div
- name="Venue"
- dir="auto"
- style={{
- minWidth: 0,
- maxWidth: 440,
- overflow: 'hidden',
- color: '#52525b',
- fontSize: 29,
- fontWeight: 500,
- lineHeight: 1,
- clipPath: `inset(0 ${
- 100 - (visibleVenueCharacters / venue.length) * 100
- }% 0 0)`,
- textOverflow: 'ellipsis',
- whiteSpace: 'nowrap',
- opacity: interpolate(frame, [27, 35, 92, 104], [0, 1, 1, 0], {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- }),
- }}
- >
- {venue}
- </Interactive.Div>
- </div>
</div>
</Interactive.Div>
);
diff --git a/packages/docs/elements/overlays/name-lower-third/name-lower-third.tsx b/packages/docs/elements/overlays/name-lower-third/name-lower-third.tsx
index c43e4e8db0..c0bde8c2ea 100644
--- a/packages/docs/elements/overlays/name-lower-third/name-lower-third.tsx
+++ b/packages/docs/elements/overlays/name-lower-third/name-lower-third.tsx
@@ -37,7 +37,6 @@ export const NameLowerThird: React.FC = () => {
style={{
display: 'flex',
alignItems: 'center',
- width: 410,
height: 66,
boxSizing: 'border-box',
padding: '0 24px',
@@ -46,12 +45,12 @@ export const NameLowerThird: React.FC = () => {
color: '#ffffff',
fontSize: 34,
fontWeight: 700,
- letterSpacing: 1.2,
+ letterSpacing: 1,
lineHeight: 1,
whiteSpace: 'nowrap',
}}
>
- ALEX MORGAN
+ Alex Morgan
</Interactive.Div>
<Interactive.Div
cropRight={interpolate(frame, [4, 24, 92, 112], [1, 0, 0, 1], {
@@ -67,7 +66,6 @@ export const NameLowerThird: React.FC = () => {
style={{
display: 'flex',
alignItems: 'center',
- width: 514,
height: 66,
boxSizing: 'border-box',
padding: '0 24px',
@@ -75,13 +73,13 @@ export const NameLowerThird: React.FC = () => {
backgroundColor: '#18181b',
color: '#ffffff',
fontSize: 34,
- fontWeight: 500,
- letterSpacing: 1.2,
+ fontWeight: 700,
+ letterSpacing: 1,
lineHeight: 1,
whiteSpace: 'nowrap',
}}
>
- CREATIVE DEVELOPER
+ Creative Developer
</Interactive.Div>
</Interactive.Div>
);
diff --git a/packages/docs/elements/youtube/youtube-subscribe-nudge/youtube-subscribe-nudge.tsx b/packages/docs/elements/youtube/youtube-subscribe-nudge/youtube-subscribe-nudge.tsx
index d746507624..8ca190a5aa 100644
--- a/packages/docs/elements/youtube/youtube-subscribe-nudge/youtube-subscribe-nudge.tsx
+++ b/packages/docs/elements/youtube/youtube-subscribe-nudge/youtube-subscribe-nudge.tsx
@@ -45,7 +45,7 @@ export const YouTubeSubscribeNudge: React.FC = () => {
<div
style={{
height: 240,
- opacity: interpolate(frame, [0, 16, 104, 119], [0, 1, 1, 0], {
+ opacity: interpolate(frame, [0, 24, 104, 119], [0, 1, 1, 0], {
easing: [
Easing.bezier(0.65, 0, 0.35, 1),
Easing.linear,
diff --git a/packages/docs/src/components/Elements/element-definitions.ts b/packages/docs/src/components/Elements/element-definitions.ts
index d1e83dc285..09715bc662 100644
--- a/packages/docs/src/components/Elements/element-definitions.ts
+++ b/packages/docs/src/components/Elements/element-definitions.ts
@@ -94,8 +94,7 @@ const elementImplementations = [
slug: 'audio/oscilloscope',
component: AudioOscilloscope,
contributors: [{username: 'samohovets', contribution: 'Author'}],
- description:
- 'An oscilloscope waveform for visualizing voices, podcasts, and other audio.',
+ description: 'Suitable for visualizing speech.',
dependencies: [
{name: '@remotion/media', version: null},
{name: '@remotion/media-utils', version: null},
@@ -122,7 +121,7 @@ const elementImplementations = [
slug: 'audio/waveform-progress',
component: AudioWaveformProgress,
contributors: [{username: 'samohovets', contribution: 'Author'}],
- description: 'A full-clip audio waveform with played progress.',
+ description: 'A static audio waveform with playback progress.',
dependencies: [
{name: '@remotion/media', version: null},
{name: '@remotion/media-utils', version: null},
@@ -149,8 +148,7 @@ const elementImplementations = [
slug: 'audio/mirrored-spectrum',
component: MirroredAudioSpectrum,
contributors: [{username: 'JonnyBurger', contribution: 'Author'}],
- description:
- 'A mirrored frequency spectrum that works well for visualizing voices and podcasts.',
+ description: 'Suitable for both music and speech visualization.',
dependencies: [
{name: '@remotion/media', version: null},
{name: '@remotion/media-utils', version: null},
diff --git a/packages/docs/src/components/Elements/element-registry.ts b/packages/docs/src/components/Elements/element-registry.ts
index 790fa7ab72..cf72dec2aa 100644
--- a/packages/docs/src/components/Elements/element-registry.ts
+++ b/packages/docs/src/components/Elements/element-registry.ts
@@ -16,15 +16,15 @@ export type ElementCategory = (typeof elementCategories)[number]['category'];
export const elementRegistry = {
'audio/oscilloscope': {
category: 'audio',
- displayName: 'Audio Oscilloscope',
+ displayName: 'Oscilloscope',
},
'audio/waveform-progress': {
category: 'audio',
- displayName: 'Audio Waveform Progress',
+ displayName: 'Voice Note',
},
'audio/mirrored-spectrum': {
category: 'audio',
- displayName: 'Mirrored Audio Spectrum',
+ displayName: 'Mirrored Spectrum',
},
'backgrounds/liquid-contours': {
category: 'backgrounds',