Search Results for

    Show / Hide Table of Contents

    Struct SherpaOnnxNativeSynthesisInput

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit.SherpaOnnx
    Assembly: Glitch9.AIDevKit.Provider.SherpaOnnx.dll
    Syntax
    public readonly struct SherpaOnnxNativeSynthesisInput

    Constructors

    | Edit this page View Source

    SherpaOnnxNativeSynthesisInput(string, string, string, string, string, string, string, string, int, int, float, float, float, float)

    Declaration
    public SherpaOnnxNativeSynthesisInput(string text, string language, string modelPath, string tokensPath, string lexiconPath, string dataDirPath, string dictDirPath, string voicesPath, int numThreads, int speakerId, float speed, float noiseScale, float noiseScaleW, float lengthScale)
    Parameters
    Type Name Description
    string text
    string language
    string modelPath
    string tokensPath
    string lexiconPath
    string dataDirPath
    string dictDirPath
    string voicesPath
    int numThreads
    int speakerId
    float speed
    float noiseScale
    float noiseScaleW
    float lengthScale

    Fields

    | Edit this page View Source

    DataDirPath

    Declaration
    public readonly string DataDirPath
    Field Value
    Type Description
    string
    | Edit this page View Source

    DictDirPath

    Declaration
    public readonly string DictDirPath
    Field Value
    Type Description
    string
    | Edit this page View Source

    Language

    Declaration
    public readonly string Language
    Field Value
    Type Description
    string
    | Edit this page View Source

    LengthScale

    Declaration
    public readonly float LengthScale
    Field Value
    Type Description
    float
    | Edit this page View Source

    LexiconPath

    Declaration
    public readonly string LexiconPath
    Field Value
    Type Description
    string
    | Edit this page View Source

    ModelPath

    Declaration
    public readonly string ModelPath
    Field Value
    Type Description
    string
    | Edit this page View Source

    NoiseScale

    Declaration
    public readonly float NoiseScale
    Field Value
    Type Description
    float
    | Edit this page View Source

    NoiseScaleW

    Declaration
    public readonly float NoiseScaleW
    Field Value
    Type Description
    float
    | Edit this page View Source

    NumThreads

    Declaration
    public readonly int NumThreads
    Field Value
    Type Description
    int
    | Edit this page View Source

    SpeakerId

    Declaration
    public readonly int SpeakerId
    Field Value
    Type Description
    int
    | Edit this page View Source

    Speed

    Declaration
    public readonly float Speed
    Field Value
    Type Description
    float
    | Edit this page View Source

    Text

    Declaration
    public readonly string Text
    Field Value
    Type Description
    string
    | Edit this page View Source

    TokensPath

    Declaration
    public readonly string TokensPath
    Field Value
    Type Description
    string
    | Edit this page View Source

    VoicesPath

    Declaration
    public readonly string VoicesPath
    Field Value
    Type Description
    string

    Properties

    | Edit this page View Source

    IsKokoro

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

    Extension Methods

    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.GetHashCodeOrDefault<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation