Class AIGenerativeRecorder<TOptions, TProfile, TOutput>
Inheritance
object
AIGenerativeRecorder<TOptions, TProfile, TOutput>
Assembly: .dll
Syntax
public abstract class AIGenerativeRecorder<TOptions, TProfile, TOutput> : AIGenerative<TOptions, TProfile, AudioClip, TOutput> where TOptions : GenerativeOptions, new() where TProfile : GenerativeProfile<TOptions>
Type Parameters
Name |
Description |
TOptions |
|
TProfile |
|
TOutput |
|
Properties
IsRecording
Declaration
public bool IsRecording { get; }
Property Value
Microphone
Declaration
public string Microphone { get; set; }
Property Value
Recorder
Declaration
public RealtimeAudioRecorder Recorder { get; }
Property Value
Type |
Description |
RealtimeAudioRecorder |
|
Methods
Awake()
Declaration
protected override void Awake()
Overrides
StartRecording()
Declaration
public void StartRecording()
StopRecordingAndGenerateAsync()
Declaration
public UniTask<TOutput> StopRecordingAndGenerateAsync()
Returns
Type |
Description |
UniTask<TOutput> |
|
StopRecordingAsync()
Declaration
public UniTask<AudioClip> StopRecordingAsync()
Returns
Type |
Description |
UniTask<AudioClip> |
|