AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Enum ElevenLabsOutputFormat

    Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. Default is mp3_44100_128.

    Namespace: Glitch9.AIDevKit.ElevenLabs
    Assembly: .dll
    Syntax
    public enum ElevenLabsOutputFormat

    Fields

    Name Description
    ALaw_8000
    MP3_22050_32
    MP3_44100_128
    MP3_44100_192
    MP3_44100_32
    MP3_44100_64
    MP3_44100_96
    PCM_16000
    PCM_22050
    PCM_24000
    PCM_44100
    PCM_8000
    ULaw_8000

    Extension Methods

    OutputFormatExtensions.GetAudioEncoding(ElevenLabsOutputFormat)
    OutputFormatExtensions.GetBitrate(ElevenLabsOutputFormat)
    OutputFormatExtensions.GetFileExtension(ElevenLabsOutputFormat)
    OutputFormatExtensions.GetSamplingRate(ElevenLabsOutputFormat)
    OutputFormatExtensions.ToAudioFormat(ElevenLabsOutputFormat)
    In this article
    Back to top Generated by DocFX