Class AIGenerativeRecorder<TOptions, TProfile, TOutput>
- Namespace
- Glitch9.AIDevKit.Components
public abstract class AIGenerativeRecorder<TOptions, TProfile, TOutput> : AIGenerative<TOptions, TProfile, AudioClip, TOutput> where TOptions : GenerativeOptions, new() where TProfile : GenerativeProfile<TOptions>
Type Parameters
TOptionsTProfileTOutput
- Inheritance
-
objectAIGenerative<TOptions, TProfile, AudioClip, TOutput>AIGenerativeRecorder<TOptions, TProfile, TOutput>
- Derived
- Inherited Members
Properties
IsRecording
public bool IsRecording { get; }
Property Value
- bool
Microphone
public string Microphone { get; set; }
Property Value
- string
Recorder
public RealtimeAudioRecorder Recorder { get; }
Property Value
- RealtimeAudioRecorder
Methods
Awake()
protected override void Awake()
StartRecording()
public void StartRecording()
StopRecordingAndGenerateAsync()
public UniTask<TOutput> StopRecordingAndGenerateAsync()
Returns
- UniTask<TOutput>
StopRecordingAsync()
public UniTask<AudioClip> StopRecordingAsync()
Returns
- UniTask<AudioClip>