Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "transcription/audio_utils"

Index

Functions

Functions

preprocessAudio

  • preprocessAudio(audioBuffer: AudioBuffer): Promise<Float32Array[]>
  • Resamples and computes a log mel spectrogram from the given AudioBuffer.

    Parameters

    • audioBuffer: AudioBuffer

      An audio buffer to transcribe.

    Returns Promise<Float32Array[]>

    The log mel spectrogram based on the AudioBuffer.

Generated using TypeDoc