Edgewise API
    Preparing search index...

    Function audioSource

    • Wrap any stream of PCM chunks as an audio source. Use this on Bun and Node, for example with audio piped from ffmpeg.

      Parameters

      • chunks: AsyncIterable<Float32Array<ArrayBufferLike>>
      • o: { sampleRate?: number; vad?: boolean | VadOptions } = {}

      Returns AudioSource