Interface DuplexRealtimeAdapterOptions

Options for converting continuous duplex audio into realtime generations.

interface DuplexRealtimeAdapterOptions {
    audioTimeout?: number;
    gate?: (() => AudioGate);
}

Properties

Properties

audioTimeout?: number

Wait after the last frame's duration before ending a burst, in milliseconds. Defaults to 800.

gate?: (() => AudioGate)

Creates a separate gate for each session. Defaults to the model's gate or an adaptive gate.

Type declaration