Skip to content

Commit

Permalink
com.rest.elevenlabs 2.0.7 (#30)
Browse files Browse the repository at this point in the history
- Added Voice.HighQualityBaseModelIds
- bump deps
  • Loading branch information
StephenHodgson committed Sep 28, 2023
1 parent 3012a80 commit d124a4d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public Voice(string id)
[JsonProperty("labels")] Dictionary<string, string> labels,
[JsonProperty("preview_url")] string previewUrl,
[JsonProperty("available_for_tiers")] List<string> availableForTiers,
[JsonProperty("high_quality_base_model_ids")] List<string> highQualityBaseModelIds,
[JsonProperty("settings")] VoiceSettings settings)
{
Id = id;
Expand All @@ -37,6 +38,7 @@ public Voice(string id)
Labels = labels;
PreviewUrl = previewUrl;
AvailableForTiers = availableForTiers;
HighQualityBaseModelIds = highQualityBaseModelIds;
Settings = settings;
}

Expand Down Expand Up @@ -82,6 +84,10 @@ public string Id
[JsonProperty("available_for_tiers")]
public IReadOnlyList<string> AvailableForTiers { get; }

[Preserve]
[JsonProperty("high_quality_base_model_ids")]
public IReadOnlyList<string> HighQualityBaseModelIds { get; }

[Preserve]
[JsonProperty("settings")]
public VoiceSettings Settings { get; internal set; }
Expand Down Expand Up @@ -157,6 +163,7 @@ public bool Equals(Voice other)
Equals(Labels, other.Labels) &&
PreviewUrl == other.PreviewUrl &&
Equals(AvailableForTiers, other.AvailableForTiers) &&
Equals(HighQualityBaseModelIds, other.HighQualityBaseModelIds) &&
Equals(Settings, other.Settings);
}

Expand Down
6 changes: 3 additions & 3 deletions ElevenLabs/Packages/com.rest.elevenlabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "ElevenLabs",
"description": "A non-official Eleven Labs voice synthesis RESTful client.",
"keywords": [],
"version": "2.0.6",
"version": "2.0.7",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.rest.elevenlabs#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.rest.elevenlabs/releases",
Expand All @@ -18,8 +18,8 @@
},
"dependencies": {
"com.unity.sharp-zip-lib": "1.3.4-preview",
"com.utilities.rest": "2.1.4",
"com.utilities.audio": "1.0.5"
"com.utilities.rest": "2.1.7",
"com.utilities.audio": "1.0.6"
},
"publishConfig": {
"registry": "https://package.openupm.com"
Expand Down
6 changes: 3 additions & 3 deletions ElevenLabs/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"dependencies": {
"com.unity.ide.rider": "3.0.24",
"com.unity.ide.visualstudio": "2.0.20",
"com.unity.ide.rider": "3.0.25",
"com.unity.ide.visualstudio": "2.0.21",
"com.unity.test-framework": "1.3.5",
"com.utilities.buildpipeline": "1.1.7"
"com.utilities.buildpipeline": "1.1.8"
},
"scopedRegistries": [
{
Expand Down
4 changes: 2 additions & 2 deletions ElevenLabs/ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2022.3.7f1
m_EditorVersionWithRevision: 2022.3.7f1 (b16b3b16c7a0)
m_EditorVersion: 2022.3.9f1
m_EditorVersionWithRevision: 2022.3.9f1 (ea401c316338)

0 comments on commit d124a4d

Please sign in to comment.