Search Results for

    Show / Hide Table of Contents

    Class VoiceSample

    Inheritance
    object
    VoiceSample
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.ElevenLabs
    Assembly: Glitch9.AIDevKit.Provider.ElevenLabs.dll
    Syntax
    public class VoiceSample

    Properties

    | Edit this page View Source

    DurationSecs

    Required. The duration of the sample in seconds.

    Declaration
    [JsonProperty("duration_secs")]
    public double DurationSecs { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    FileName

    Required. The name of the sample file.

    Declaration
    [JsonProperty("file_name")]
    public string FileName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    HasIsolatedAudio

    Optional. Whether the sample has isolated audio.

    Declaration
    [JsonProperty("has_isolated_audio")]
    public bool? HasIsolatedAudio { get; set; }
    Property Value
    Type Description
    bool?
    Remarks

    Default: false

    | Edit this page View Source

    HasIsolatedAudioPreview

    Optional. Whether the sample has isolated audio preview.

    Declaration
    [JsonProperty("has_isolated_audio_preview")]
    public bool? HasIsolatedAudioPreview { get; set; }
    Property Value
    Type Description
    bool?
    Remarks

    Default: false

    | Edit this page View Source

    Hash

    Required. The hash of the sample file.

    Declaration
    [JsonProperty("hash")]
    public string Hash { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MimeType

    Required. The MIME type of the sample file.

    Declaration
    [JsonProperty("mime_type")]
    public string MimeType { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    RemoveBackgroundNoise

    Optional. Whether to remove background noise.

    Declaration
    [JsonProperty("remove_background_noise")]
    public bool? RemoveBackgroundNoise { get; set; }
    Property Value
    Type Description
    bool?
    Remarks

    Default: false

    | Edit this page View Source

    SampleId

    Required. The ID of the sample.

    Declaration
    [JsonProperty("sample_id")]
    public string SampleId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SizeBytes

    Required. The size of the sample file in bytes.

    Declaration
    [JsonProperty("size_bytes")]
    public long SizeBytes { get; set; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    SpeakerSeparation

    Optional. The speaker separation information.

    Declaration
    [JsonProperty("speaker_separation")]
    public SpeakerSeparation SpeakerSeparation { get; set; }
    Property Value
    Type Description
    SpeakerSeparation

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