21 lines
641 B
Plaintext
21 lines
641 B
Plaintext
---
|
|
title: "Audio Waveform"
|
|
sidebarTitle: "audioWaveform"
|
|
description: "Use the audioWaveform build extension to add support for Audio Waveform in your project"
|
|
---
|
|
|
|
Previously, we installed [Audio Waveform](https://github.com/bbc/audiowaveform) in the build image. That's been moved to a build extension:
|
|
|
|
```ts
|
|
import { defineConfig } from "@trigger.dev/sdk";
|
|
import { audioWaveform } from "@trigger.dev/build/extensions/audioWaveform";
|
|
|
|
export default defineConfig({
|
|
project: "<project ref>",
|
|
// Your other config settings...
|
|
build: {
|
|
extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default
|
|
},
|
|
});
|
|
```
|