ReasoningEvaluateNode.enrolVoice() method
Enrol a named voice in the running speaker_id tool’s gallery from a 16kHz mono WAV (PCM16 or float32). Subsequent scored utterances matching this voice carry the name. Enrolling an existing name replaces that entry. Resolves to the gallery names after the operation; rejects if the WAV can’t be used — the node keeps running.
Signature:
enrolVoice(name: string, wav: Uint8Array, instance?: string): Promise<string[]>;