Member Junction
    Preparing search index...

    What a voice decoder needs.

    interface AvatarAudioDecoderOptions {
        OnFailure: (reason: string) => void;
        OnPcm: (chunk: AvatarPcmChunk) => void;
        SampleRate: number;
    }
    Index

    Properties

    OnFailure: (reason: string) => void

    Called once when the decoder dies on its own.

    OnPcm: (chunk: AvatarPcmChunk) => void

    Receives each frame's PCM that is not fenced off.

    SampleRate: number

    The bot's voice rate: the PCM comes out at it.