32 lines
1.5 KiB
Markdown
32 lines
1.5 KiB
Markdown
# @suaveplan/audio-fx-plugin-tremolo - tremolo plugin for the @suaveplan/audio-fx-plugin-* family.
|
|
|
|
tremolo plugin for the @suaveplan/audio-fx-plugin-* family.
|
|
|
|
Member of the `@suaveplan/audio-fx-plugin-*` family. Universal (browser / server / offline / worklet identical). Depends on `@suaveplan/audio-fx-plugin-base` for the `AudioFxPlugin` contract; declares no other `@suaveplan/audio-fx-plugin-*` deps.
|
|
|
|
<!-- begin:auto-docs -->
|
|
## Documentation tree
|
|
|
|
- [schemas](./src/schemas/schemas.md) — Zod schemas validating the construction-time options and preset payload of `TremoloPlugin`. These run at the public bou…
|
|
- [schemas](./src/schemas/schemas.md) — Zod schemas validating the construction-time options and preset payload of `TremoloPlugin`. These run at the public bou…
|
|
- [tremolo](./src/tremolo/tremolo.md) — `TremoloPlugin` is the universal amplitude-modulation tremolo. Its core contract is phase-continuity across block bound…
|
|
- [tremolo](./src/tremolo/tremolo.md) — `TremoloPlugin` is the universal amplitude-modulation tremolo. Its core contract is phase-continuity across block bound…
|
|
<!-- end:auto-docs -->
|
|
|
|
## Composition
|
|
|
|
```ts
|
|
import { PluginChain, DefaultBusRegistry } from "@suaveplan/audio-fx-plugin-base/chain";
|
|
import { /* Plugin */ } from "@suaveplan/audio-fx-plugin-tremolo";
|
|
|
|
const plugin = new /* Plugin */();
|
|
const chain = new PluginChain({
|
|
buses: new DefaultBusRegistry(),
|
|
plugins: [plugin],
|
|
});
|
|
```
|
|
|
|
## Status
|
|
|
|
Replaces the `./tremolo` subpath of the bundled `@suaveplan/audio-plugins-fx`.
|