new lsl function llTTS
tracked
Marty Mouse
hi, as i added to jira earlier
its function to Allow user use google,edge,elevenlabs or own Tortoise api to speak chat, read text from variables, it can be used in shops ads, stories reading and other events
example use lsl:
llTTS(api+key,volume, string variable);
also you can add own free and paid api too its up to you
Thank you for all your good work, I hope it still can be implemented fast:) and thank you in advance for that.
hugs,
Marty
Log In
nulshift Resident
Would prefer this to be integrated into something like the voice chat, rather than being something that plays over regular sound channels. I don't use voice because I prefer text communication, but can appreciate the silly gestures now and there, such as meowing noises, memes, etc.
TTS being on the object sound channel wouldn't be acceptable to me.
Also don't think this needs to be a script. It can just be a viewer feature instead.
Marty Mouse
nulshift Resident as i said before it must have option to enable and disable that sound, well probably it would be possible to implement in viewer aditional speaker treat it as like with voice chat, and not need be including that in other sound settings then , thats good point about some could use it to spam, so yea it should be able to do that as individual option (enable/disable hearing), was already user scripts who was imitating what i said here (example bonnie bots option, made by community) and also was able to mute it, so will be fine :)
Signal Linden
marked this post as
tracked
Extrude Ragu
I've had a few occasions where I've run into people who already use a text to speech system in SecondLife and to be honest I did not enjoy it.
Everyone enjoys SL differently. Personally I find voice chat over-stimulating and wears me out, espescially if i'm using headphones. I'm old-school and prefer to text chat like i'm playing an MMO.
I'm not saying don't make the feature, but what I am saying is make it count as voice, and if voice is off in the parcel or in the players viewer, don't play the sound. Otherwise we risk changing the character of SecondLife in such a way that inhibits residents ability to enjoy the game. Some sims really do just prefer text as a communication medium and many sim owners may prefer not to hear voices real or ai-generated.
Marty Mouse
Thanks for comments and vote up i need add this i think:
free apis:
https://github.com/neonbjb/tortoise-tts (best one and opensource)
Paid ( here i think user would use own api key):
=====
here is also article:
Gloss Doll
Oh, just imagine if we had something like:
llSpeak(string "Text", integer voiceModel, float volume, float speed);
llSpeak("Yes, I can hear you", VOICE_SAMANTHA, 1.0, 1.0);
With a modest library of voices available. This could be a game changer for roleplay, and interactive content, making it easier to bridge the social gaps between voice users and non-voice users.
Implementing something like AT&T or Google text-to-speech, or even the newer "AI-powered" systems like Natural Reader or Speechify could be amazing. Even the 'simple' voice models that use less resources would be an epic change.
Compare this to the current methods of uploading small recordings of each line you'd like a scripted object to 'speak'. (see the Drivers of SL huds for an example... "Warning, region corner ahead, slow down".)
Journey Bunny
Gloss Doll Agreed! And if LL is looking for a free, open solution: