Bibliothèques

liste des bibliothèques s&box

TikTokTTS

carsonk.tiktoktts

À propos

Using in Code

There are two static functions you can use. and

using TikTokTTS;

public class MyComponent : Component
{
async void SayExample()
{
// Call the API directly and returns a MusicPlayer
await TikTokTTS.Say("Hello world, what is up?");

// Can also specify what voice you'd like to use
var musicPlayer = await TikTokTTS.Say("This is a different voice. Positioned in the world.", "en_male_ukneighbor");
musicPlayer.Position = Transform.Position;
}

async void DownloadExample()
{
// Call the API directly and save the returned TTS to an mp3 file
var fileName = await TikTokTTS.Download("I'm downloading this so I can play it and then save it for future use!");

// Play the sound yourself once you've downloaded it like normal
MusicPlayer.Play(FileSystem.Data, fileName);
}
}

Using the Component

Simply add the component and set the and property accordingly. You can test the voice by pressing the "Speak" button at any time and can call the component's speak function at runtime with

Médias

02
Vignette de Razor Panel Tooltips
Razor Panel Tooltipscarsonk.razor_tooltips

A custom tooltip system that lets you use razor panels instead of a string

+024 h
6favoris
6votes positifs
55%Terry Score
03
Vignette de RichText Razor Panels
RichText Razor Panelscarsonk.richtextpanels

Adds a <RichText/> element which can parse text into custom Razor Panels

+024 h
3favoris
4votes positifs
60%Terry Score
05
Vignette de Granular Pitch Audio Processor
Granular Pitch Audio Processorcarsonk.granularpitchprocessor

A basic audio processor that lets you change the pitch of a sound live without changing its speed.

+024 h
1favoris
0votes positifs
--Terry Score
06
Vignette de Twitch API
Twitch APIcarsonk.twitchapi

A stupid simple Library that allows you to subscribe to events from Twitch Chat, with additional metadata for users/messages.

+024 h
0favoris
0votes positifs
--Terry Score