Compute
voiceTransfer
Performs voice conversion on an input audio using a selected voice model
moises.compute.voiceTransferParameters
| Parameter | Type | Description |
|---|---|---|
voiceModelId | string | Identifier of the target voice model |
audioBuffer | ArrayBuffer | Raw audio buffer to upload and process |
pitchShift | string | Optional semitone shift applied during conversion |
isolateVocals | boolean | Whether to isolate vocals before conversion |
Returns:
Promise<Object | unknown> - Promise that resolves when the job completes
Example resolved value:
// When the promise resolves, you get:
Object | unknownUsage Example
const result = await compute.voiceTransfer({ voiceModelId, audioBuffer, pitchShift: '0', isolateVocals: false })This file is automatically generated. Do not edit manually.