API reference
Preparing search index…

EffectProcessorOptions

Worker and capacity configuration for a floating-point PCM effect processor.

interface EffectProcessorOptions {
    blockFrames?: number;
    data?: unknown;
    exportName?: string;
    maxChannelCount?: number;
    module: string | URL;
    queueBlocks?: number;
}
Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory6

Properties

Properties

blockFrames?: number

Frames per block, defaulting to 1024; a frame contains samples for all channels.

Source & inheritance
data?: unknown

Initial data passed to the factory through structured cloning.

Source & inheritance
exportName?: string

Factory export name; uses the default export when omitted.

Source & inheritance
maxChannelCount?: number

Maximum engine output channels; input is already spatialized.

Source & inheritance
module: string | URL

Module path or URL loaded by the Worker, exporting an audio callback factory.

Source & inheritance
queueBlocks?: number

Number of blocks in the native queue, defaulting to 8.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0