Skip to content

tkufi/Vocalise

Repository files navigation

Vocalise

Vocalise is a Text-To-Speech package designed for Roblox, allowing developers to easily and quickly create voice messages to talk to players.

Example Usage

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Vocalise = require(ReplicatedStorage.vocalise)

local newObject = Vocalise.new({
	VocalSettings = {
		VoiceId = Vocalise.Voices.BritishFemale1,
		Pitch = 1.2,
		Speed = 1,
		Volume = 0.5,
	},
})

newObject:speak({
	"Hello! How's your day?",
	"This is a test of the Vocalize text-to-speech module.", -- uses american spellings, british spellings are not recognised by Roblox
	"You can customize the voice, pitch, speed, and volume.",
})

newObject:updateConfig({
	VocalSettings = {
        TextDelay = 1,
		VoiceId = Vocalise.Voices.AustralianMale1,
		Pitch = 1.2,
		Speed = 1,
		Volume = 0.5,
	},
})

newObject:speak({
    "You can also update the configuration at any time.",
    "Now with a half second delay between each phrase.",
    "This makes it easier to understand when multiple phrases are spoken in succession.",
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages