Class GENVoiceChangeTask
Inheritance
object
GENVoiceChangeTask
Assembly: .dll
Syntax
public class GENVoiceChangeTask : GENAudioOutputTask<GENVoiceChangeTask, AudioClip>, IGENTask
Constructors
GENVoiceChangeTask(AudioClip, Object)
Declaration
public GENVoiceChangeTask(AudioClip prompt, UnityEngine.Object target = null)
Parameters
Type |
Name |
Description |
AudioClip |
prompt |
|
Object |
target |
|
Methods
ExecuteAsync()
Executes the task and returns the generated result.
Declaration
public override UniTask<GeneratedAudio> ExecuteAsync()
Returns
Overrides
SetRemoveBackgroundNoise(bool)
Sets whether to remove background noise from the input audio.
Declaration
public GENVoiceChangeTask SetRemoveBackgroundNoise(bool removeBackgroundNoise)
Parameters
Type |
Name |
Description |
bool |
removeBackgroundNoise |
|
Returns
SetSeed(uint)
Sets a fixed seed to make generation deterministic and repeatable.
Declaration
public GENVoiceChangeTask SetSeed(uint seed)
Parameters
Type |
Name |
Description |
uint |
seed |
|
Returns
SetVoice(Voice)
Declaration
public GENVoiceChangeTask SetVoice(Voice voice)
Parameters
Type |
Name |
Description |
Voice |
voice |
|
Returns
Implements
Extension Methods