Skip to content

🎥 Make videos programmatically with React

update README and remove concurrency limit

Jonny Burgerc69bcece9f1b
diff --git a/packages/template-audiogram/README.md b/packages/template-audiogram/README.md
index 9ec1b2657e..1240e8363d 100644
--- a/packages/template-audiogram/README.md
+++ b/packages/template-audiogram/README.md
@@ -41,6 +41,11 @@ You can supply a .srt file or a .json file that follows the [`@remotion/captions
If you supply a .srt, make sure to export subtitles that are segmented by word rather than by sentence.
+## Optimizing for long audio files
+
+If your audio is long, pass a `.wav` file instead of another format. The template will use [`useWindowedAudioData()`](/docs/use-windowed-audio-data) to only fetch the data around the current time.
+Otherwise, the audio visualization may become a heavy duty for the browser or during rendering.
+
## Commands
**Install Dependencies**
diff --git a/packages/template-audiogram/remotion.config.ts b/packages/template-audiogram/remotion.config.ts
index afd353c6bb..6fd1b558e1 100644
--- a/packages/template-audiogram/remotion.config.ts
+++ b/packages/template-audiogram/remotion.config.ts
@@ -9,7 +9,3 @@ import { Config } from "@remotion/cli/config";
Config.setVideoImageFormat("jpeg");
Config.setOverwriteOutput(true);
-
-// This template processes the whole audio file on each thread which is heavy.
-// You are safe to increase concurrency if the audio file is small or your machine strong!
-Config.setConcurrency(1);