Skip to content
Apexify.jsDocs
Apexify.js version v5.4.5

interface export

SynthComposeOptions

Published interface export SynthComposeOptions.

apexify.jsCURRENTnode22node24node26
Source: lib-next/types/audio-synth.ts (opens in a new tab)

Signature

TypeScript
export interface SynthComposeOptions {
    clips: SynthComposeClip[];
    /** Minimum total output length; actual output still includes later clip ends. */
    duration?: number;
    sampleRate?: number;
    channels?: 1 | 2;
    masterGain?: number;
    /** Padding after the last clip ends. */
    tail?: number;
    limiter?: boolean;
    /** High-pass the final mix in Hz. */
    postHighpassHz?: number;
    /** Soft-gate threshold, 0–1. */
    noiseGateThreshold?: number;
    /** Optional seed; clips receive independently derived deterministic streams unless they provide `seed`. */
    seed?: AudioSeed;
}

Related APIs

No explicit related API metadata.

Next steps