Search Results for

    Show / Hide Table of Contents

    Interface IWebSocketSpeechToTextService

    Service interface for WebSocket-based speech-to-text.

    Inherited Members
    IWebSocketGenerativeService<AudioClip, TranscriptDelta, Transcript, ISpeechToTextOptions>.ConnectAsync(ISpeechToTextOptions, CancellationToken)
    IWebSocketGenerativeService<AudioClip, TranscriptDelta, Transcript, ISpeechToTextOptions>.PushInputBuffer(AudioClip)
    IWebSocketGenerativeService<AudioClip, TranscriptDelta, Transcript, ISpeechToTextOptions>.DisconnectAsync(CancellationToken)
    IDisposable.Dispose()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public interface IWebSocketSpeechToTextService : ISpeechToText, IWebSocketGenerativeService<AudioClip, TranscriptDelta, Transcript, ISpeechToTextOptions>, IDisposable

    Methods

    | Edit this page View Source

    PushInputAudioBuffer(float[])

    Pushes a raw audio buffer to the WebSocket service. This method is intended for real-time microphone input streaming.

    Declaration
    void PushInputAudioBuffer(float[] audioBuffer)
    Parameters
    Type Name Description
    float[] audioBuffer

    The raw audio buffer (float[] PCM data).

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.TryDispose(IDisposable)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation