From a87c1fe404f5137063d0ffa4a20fe7a133d7bbb2 Mon Sep 17 00:00:00 2001 From: IS4 Date: Tue, 14 Nov 2023 16:10:06 +0100 Subject: [PATCH] ElevenLabs-DotNet 2.0.2 (#28) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added μ-law format --- ElevenLabs-DotNet/ElevenLabs-DotNet.csproj | 6 ++++-- ElevenLabs-DotNet/OutputFormat.cs | 9 ++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ElevenLabs-DotNet/ElevenLabs-DotNet.csproj b/ElevenLabs-DotNet/ElevenLabs-DotNet.csproj index a096ce6..d6f8bd4 100644 --- a/ElevenLabs-DotNet/ElevenLabs-DotNet.csproj +++ b/ElevenLabs-DotNet/ElevenLabs-DotNet.csproj @@ -14,8 +14,10 @@ RageAgainstThePixel 2023 ElevenLabs, AI, ML, Voice, TTS - 2.0.1 - Version 2.0.1 + 2.0.2 + Version 2.0.2 +- Added the u-law format +Version 2.0.1 - Pass some cancellation tokens to internals Version 2.0.0 Refactoring to support latest API changes diff --git a/ElevenLabs-DotNet/OutputFormat.cs b/ElevenLabs-DotNet/OutputFormat.cs index 6f2dc3b..c406b56 100644 --- a/ElevenLabs-DotNet/OutputFormat.cs +++ b/ElevenLabs-DotNet/OutputFormat.cs @@ -44,6 +44,13 @@ public enum OutputFormat /// /// Requires you to be subscribed to Independent Publisher tier or above. /// - PCM_44100 + PCM_44100, + /// + /// μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. + /// + /// + /// Note that this format is commonly used for Twilio audio inputs. + /// + Ulaw_8000 } }