Create voice embedding from reference audio
Description
Create voice embedding from reference audio
Usage
1create_voice_embedding(model, audio, sample_rate = NULL, autocast = NULL)
Arguments
model: Chatterbox modelaudio: Reference audio (file path, numeric vector, or torch tensor)sample_rate: Sample rate of audio (if not a file)autocast: Ignored (kept for API compatibility)
Value
Voice embedding that can be used for synthesis