compute_xvector_embedding

Compute xvector speaker embedding from audio

Description

Compute xvector speaker embedding from audio

Usage

compute_xvector_embedding(model, audio, sr)

Arguments

  • model: CAMPPlus model
  • audio: Audio samples (tensor or numeric)
  • sr: Sample rate

Value

Speaker embedding (1, 192)