32 lines
1.6 KiB
Markdown
32 lines
1.6 KiB
Markdown
# @suaveplan/audio-fx-plugin-synthesizer - synthesizer plugin for the @suaveplan/audio-fx-plugin-* family.
|
|
|
|
synthesizer 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, waveform enum, and preset payload of `SynthesizerPlugin`. These r…
|
|
- [schemas](./src/schemas/schemas.md) — Zod schemas validating the construction-time options, waveform enum, and preset payload of `SynthesizerPlugin`. These r…
|
|
- [synthesizer](./src/synthesizer/synthesizer.md) — `SynthesizerPlugin` is the universal polyphonic subtractive synthesizer. Each voice runs an oscillator (sine, square, s…
|
|
- [synthesizer](./src/synthesizer/synthesizer.md) — `SynthesizerPlugin` is the universal polyphonic subtractive synthesizer. Each voice runs an oscillator (sine, square, s…
|
|
<!-- end:auto-docs -->
|
|
|
|
## Composition
|
|
|
|
```ts
|
|
import { PluginChain, DefaultBusRegistry } from "@suaveplan/audio-fx-plugin-base/chain";
|
|
import { /* Plugin */ } from "@suaveplan/audio-fx-plugin-synthesizer";
|
|
|
|
const plugin = new /* Plugin */();
|
|
const chain = new PluginChain({
|
|
buses: new DefaultBusRegistry(),
|
|
plugins: [plugin],
|
|
});
|
|
```
|
|
|
|
## Status
|
|
|
|
Replaces the `./synthesizer` subpath of the bundled `@suaveplan/audio-plugins-fx`.
|