generated from RageAgainstThePixel/upm-template
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- com.utilities.rest -> 3.3.0 - com.utilities.encoder.ogg -> 4.0.2 - Added additional request properties for TextToSpeechRequest - `previous_text`, `next_text`, `previous_request_ids`, `next_request_ids`, `languageCode`, `withTimestamps` - `cacheFormat` which can be `None`, `Wav`, or `Ogg` - Added support for transcription timestamps by @tomkail - Added support for language code in TextToSpeechRequest @Mylan719 - Refactored `VoiceClip` - clip samples and data are now prioritized over the `AudioClip` - audioClip will not be created until you access the `VoiceClip.AudioClip` property - if an audio clip is not loaded, you can load it with `LoadCachedAudioClipAsync` - Refactored demo scene to use `OnAudioFilterRead` to better quality stream playback --------- Co-authored-by: Milan Mikuš <[email protected]> Co-authored-by: Milan Mikuš <[email protected]> Co-authored-by: Tom Kail <[email protected]> Co-authored-by: Tom Kail <[email protected]>
- Loading branch information
1 parent
e7f175b
commit 3fca11c
Showing
31 changed files
with
926 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
ElevenLabs/Packages/com.rest.elevenlabs/Runtime/Common/CacheFormat.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
namespace ElevenLabs | ||
{ | ||
public enum CacheFormat | ||
{ | ||
None, | ||
Ogg, | ||
Wav | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...ime/Common/OutputFormatExtensions.cs.meta → ...enlabs/Runtime/Common/CacheFormat.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
ElevenLabs/Packages/com.rest.elevenlabs/Runtime/Common/OutputFormatExtensions.cs
This file was deleted.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
ElevenLabs/Packages/com.rest.elevenlabs/Runtime/Common/TimestampedTranscriptCharacter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
using Newtonsoft.Json; | ||
using UnityEngine.Scripting; | ||
|
||
namespace ElevenLabs | ||
{ | ||
/// <summary> | ||
/// Represents timing information for a single character in the transcript | ||
/// </summary> | ||
[Preserve] | ||
public class TimestampedTranscriptCharacter | ||
{ | ||
[Preserve] | ||
[JsonConstructor] | ||
internal TimestampedTranscriptCharacter(string character, double startTime, double endTime) | ||
{ | ||
Character = character; | ||
StartTime = startTime; | ||
EndTime = endTime; | ||
} | ||
|
||
/// <summary> | ||
/// The character being spoken | ||
/// </summary> | ||
[Preserve] | ||
[JsonProperty("character")] | ||
public string Character { get; } | ||
|
||
/// <summary> | ||
/// The time in seconds when this character starts being spoken | ||
/// </summary> | ||
[Preserve] | ||
[JsonProperty("character_start_times_seconds")] | ||
public double StartTime { get; } | ||
|
||
/// <summary> | ||
/// The time in seconds when this character finishes being spoken | ||
/// </summary> | ||
[Preserve] | ||
[JsonProperty("character_end_times_seconds")] | ||
public double EndTime { get; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...enLabs/Packages/com.rest.elevenlabs/Runtime/Common/TimestampedTranscriptCharacter.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.