Skip to content

🎥 Make videos programmatically with React

good enough to ship

Jonny Burger2c3b67d8f216
diff --git a/packages/docs/components/AudioWaveformExamples.tsx b/packages/docs/components/AudioWaveformExamples.tsx
index 5dd995ac50..1af1dd5c5e 100644
--- a/packages/docs/components/AudioWaveformExamples.tsx
+++ b/packages/docs/components/AudioWaveformExamples.tsx
@@ -39,7 +39,7 @@ const BaseExample: React.FC = () => {
points: waveform.map((x, i) => {
return {
x: (i / (waveform.length - 1)) * width,
- y: x * height + height / 2,
+ y: x * height * 2 + height / 2,
};
}),
});
@@ -85,7 +85,7 @@ const MovingExample: React.FC = () => {
points: waveform.map((x, i) => {
return {
x: (i / (waveform.length - 1)) * width,
- y: x * height + height / 2,
+ y: x * height * 2 + height / 2,
};
}),
});
@@ -131,7 +131,7 @@ const PosterizedExample: React.FC = () => {
points: waveform.map((x, i) => {
return {
x: (i / (waveform.length - 1)) * width,
- y: x * height + height / 2,
+ y: x * height * 2 + height / 2,
};
}),
});
diff --git a/packages/docs/public/podcast.wav b/packages/docs/public/podcast.wav
index 4c5d8e8d00..6388a6a12e 100644
Binary files a/packages/docs/public/podcast.wav and b/packages/docs/public/podcast.wav differ
diff --git a/packages/docs/static/podcast.wav b/packages/docs/static/podcast.wav
index 4c5d8e8d00..6388a6a12e 100644
Binary files a/packages/docs/static/podcast.wav and b/packages/docs/static/podcast.wav differ
diff --git a/packages/example/public/podcast.wav b/packages/example/public/podcast.wav
index 4c5d8e8d00..6388a6a12e 100644
Binary files a/packages/example/public/podcast.wav and b/packages/example/public/podcast.wav differ
diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsx
index 30be512e1e..34397e9a62 100644
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@ -1542,7 +1542,7 @@ export const Index: React.FC = () => {
width={1080}
height={1080}
fps={30}
- durationInFrames={100}
+ durationInFrames={900}
/>
</Folder>
</>
diff --git a/packages/example/src/voice-visualization/index.tsx b/packages/example/src/voice-visualization/index.tsx
index 2e0040dd3b..58d60bf19b 100644
--- a/packages/example/src/voice-visualization/index.tsx
+++ b/packages/example/src/voice-visualization/index.tsx
@@ -24,7 +24,7 @@ export const VoiceVisualization: React.FC = () => {
numberOfSamples={10}
windowInSeconds={1}
posterization={3}
- amplitude={3}
+ amplitude={4}
/>
<VoiceVis
padding={padding}
diff --git a/packages/template-audiogram/public/podcast.wav b/packages/template-audiogram/public/podcast.wav
deleted file mode 100644
index 4c5d8e8d00..0000000000
Binary files a/packages/template-audiogram/public/podcast.wav and /dev/null differ