Skip to content

Commit 0ad723d

Browse files
com.rest.elevenlabs 3.5.2 (#124)
- updated com.utilities.rest -> 3.3.3 - updated com.utilities.encoder.ogg -> 4.2.2 - updated com.utilities.encoder.wav -> 2.2.2
1 parent c6c049f commit 0ad723d

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

Samples~/TextToSpeech/TextToSpeechDemo.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,13 @@ private async void Start()
7575

7676
if (debug)
7777
{
78+
Debug.Log($"Created {voiceClip.Id}");
7879
Debug.Log($"Elapsed time: {elapsedTime:F} seconds");
7980
Debug.Log($"voice clip length: {voiceClip.Length:F} seconds");
8081
Debug.Log($"playback time: {playbackTime:F} seconds");
8182
}
8283

8384
await Awaiters.DelayAsync(TimeSpan.FromSeconds(playbackTime + 1f), destroyCancellationToken);
84-
85-
if (debug)
86-
{
87-
Debug.Log($"Full clip: {voiceClip.Id}");
88-
}
89-
90-
((AudioSource)streamAudioSource).PlayOneShot(voiceClip);
9185
}
9286
catch (Exception e)
9387
{

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "ElevenLabs",
44
"description": "A non-official Eleven Labs voice synthesis RESTful client.",
55
"keywords": [],
6-
"version": "3.5.1",
6+
"version": "3.5.2",
77
"unity": "2021.3",
88
"documentationUrl": "https://github.com/RageAgainstThePixel/com.rest.elevenlabs#documentation",
99
"changelogUrl": "https://github.com/RageAgainstThePixel/com.rest.elevenlabs/releases",
@@ -17,9 +17,9 @@
1717
"url": "https://github.com/StephenHodgson"
1818
},
1919
"dependencies": {
20-
"com.utilities.rest": "3.3.2",
21-
"com.utilities.encoder.ogg": "4.2.1",
22-
"com.utilities.encoder.wav": "2.2.1"
20+
"com.utilities.rest": "3.3.3",
21+
"com.utilities.encoder.ogg": "4.2.2",
22+
"com.utilities.encoder.wav": "2.2.2"
2323
},
2424
"samples": [
2525
{

0 commit comments

Comments
 (0)