AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class SpeechAssistant

    Inheritance
    object
    AIDevKitComponent
    SpeechAssistant
    Inherited Members
    AIDevKitComponent.debugMode
    Namespace: Glitch9.AIDevKit.Components
    Assembly: .dll
    Syntax
    public class SpeechAssistant : AIDevKitComponent

    Properties

    IsRecording

    Declaration
    public bool IsRecording { get; }
    Property Value
    Type Description
    bool

    OutputPath

    Declaration
    public string OutputPath { get; set; }
    Property Value
    Type Description
    string

    Recorder

    Declaration
    public AudioRecorder Recorder { get; }
    Property Value
    Type Description
    AudioRecorder

    RecordingDuration

    Declaration
    public int RecordingDuration { get; set; }
    Property Value
    Type Description
    int

    RemoveBackgroundNoise

    Declaration
    public bool RemoveBackgroundNoise { get; set; }
    Property Value
    Type Description
    bool

    SpeechToTextModel

    Declaration
    public Model SpeechToTextModel { get; set; }
    Property Value
    Type Description
    Model

    SpokenLanguage

    Declaration
    public SystemLanguage SpokenLanguage { get; set; }
    Property Value
    Type Description
    SystemLanguage

    Voice

    Declaration
    public Voice Voice { get; set; }
    Property Value
    Type Description
    Voice

    VoiceChangerModel

    Declaration
    public Model VoiceChangerModel { get; set; }
    Property Value
    Type Description
    Model

    Methods

    ChangeVoiceAsync(Voice)

    Declaration
    public UniTask<GeneratedAudio> ChangeVoiceAsync(Voice voice = null)
    Parameters
    Type Name Description
    Voice voice
    Returns
    Type Description
    UniTask<GeneratedAudio>

    StartRecording(string)

    Start recording audio from the microphone

    Declaration
    public void StartRecording(string deviceName = null)
    Parameters
    Type Name Description
    string deviceName

    TranscribeRecordingAsync()

    Stop recording audio from the microphone and transcribe it

    Declaration
    public UniTask<Transcript> TranscribeRecordingAsync()
    Returns
    Type Description
    UniTask<Transcript>

    TranslateRecordingAsync()

    Declaration
    public UniTask<string> TranslateRecordingAsync()
    Returns
    Type Description
    UniTask<string>
    In this article
    Back to top Generated by DocFX