Skip to content

Commit

Permalink
ElevenLabs-DotNet 2.0.2 (#28)
Browse files Browse the repository at this point in the history
- Added μ-law format
  • Loading branch information
IS4Code authored Nov 14, 2023
1 parent 1828fe8 commit a87c1fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ElevenLabs-DotNet/ElevenLabs-DotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
<Company>RageAgainstThePixel</Company>
<Copyright>2023</Copyright>
<PackageTags>ElevenLabs, AI, ML, Voice, TTS</PackageTags>
<Version>2.0.1</Version>
<PackageReleaseNotes>Version 2.0.1
<Version>2.0.2</Version>
<PackageReleaseNotes>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
Expand Down
9 changes: 8 additions & 1 deletion ElevenLabs-DotNet/OutputFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public enum OutputFormat
/// <remarks>
/// Requires you to be subscribed to Independent Publisher tier or above.
/// </remarks>
PCM_44100
PCM_44100,
/// <summary>
/// μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate.
/// </summary>
/// <remarks>
/// Note that this format is commonly used for Twilio audio inputs.
/// </remarks>
Ulaw_8000
}
}

0 comments on commit a87c1fe

Please sign in to comment.