• Preparing search index...
  • The search index is not available
smart-whisper
  • smart-whisper
  • Binding
  • transcribe

Function transcribe

  • transcribe<Format, TokenTimestamp>(handle, pcm, params, finish, progress): void
  • Transcribe a PCM buffer.

    Type Parameters

    • Format extends TranscribeFormat
    • TokenTimestamp extends boolean

    Parameters

    • handle: Handle

      The handle to the model.

    • pcm: Float32Array

      The PCM buffer.

    • params: Partial<TranscribeParams<Format, TokenTimestamp>>

      The parameters to use for transcription.

    • finish: ((results) => void)

      A callback that will be called when the transcription is finished.

        • (results): void
        • Parameters

          • results: TranscribeResult<Format, TokenTimestamp>[]

          Returns void

    • progress: ((result) => void)

      A callback that will be called when a new result is available.

        • (result): void
        • Parameters

          • result: TranscribeResult<Format, TokenTimestamp>

          Returns void

    Returns void

    • Defined in src/binding.ts:43

Settings

Member Visibility

Theme

smart-whisper
  • Binding
    • WhisperModel
    • free
    • load
    • transcribe
  • manager
    • ModelName
    • MODELS
    • dir
    • check
    • download
    • list
    • remove
    • resolve
  • WhisperSamplingStrategy
  • TranscribeTask
  • Whisper
  • WhisperModel
  • TranscribeDetailedResult
  • TranscribeParams
  • TranscribeSimpleResult
  • WhisperConfig
  • Handle
  • TranscribeFormat
  • TranscribeResult
  • binding

Generated using TypeDoc