Member Junction
    Preparing search index...
    • Wraps mono PCM16 samples in the canonical 44-byte WAV header (written by the shared WriteRecordingWavHeader), samples little-endian regardless of host byte order.

      Parameters

      • pcm: Int16Array
      • sampleRate: number

      Returns Buffer