sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
sherpa_onnx::cxx::OfflineSpeechDenoiserVoxLockModelConfig Struct Reference

VoxLock target-speaker voice isolation model configuration. More...

#include <cxx-api.h>

Collaboration diagram for sherpa_onnx::cxx::OfflineSpeechDenoiserVoxLockModelConfig:

Public Attributes

std::string enroll_model
std::string chunk_model
std::string voice_sample

Detailed Description

VoxLock keeps the voice of one speaker (the caller) and removes other voices. The model is from https://github.com/arbazsiddiqui/voxlock

Definition at line 1528 of file cxx-api.h.

Member Data Documentation

◆ chunk_model

std::string sherpa_onnx::cxx::OfflineSpeechDenoiserVoxLockModelConfig::chunk_model

Path to the VoxLock chunk model, e.g., chunk.onnx.

Definition at line 1532 of file cxx-api.h.

◆ enroll_model

std::string sherpa_onnx::cxx::OfflineSpeechDenoiserVoxLockModelConfig::enroll_model

Path to the VoxLock enroll model, e.g., enroll.onnx.

Definition at line 1530 of file cxx-api.h.

◆ voice_sample

std::string sherpa_onnx::cxx::OfflineSpeechDenoiserVoxLockModelConfig::voice_sample

Optional. Path to a wave file with at least 3 seconds of the caller's voice. From a longer file, the loudest 3 seconds within the first 30 seconds are used. A file that is shorter or cannot be read is ignored, as if it were empty. If empty or ignored, the voice sample is taken from the input audio; see the C API docs for the offline/online fallbacks.

Definition at line 1540 of file cxx-api.h.


The documentation for this struct was generated from the following file: