Open djmattyg007 opened 2 months ago
What narration? Isn't narration automatically triggered when client enabled?
Don't get your idea, can you explain more?
If you just want sound, CC:T has a speaker. If you want broadcast narration, narration should be played when client enabled chat narration and you send a chat message.
I'm not trying to play random sounds. I'd like the ability to do text-to-speech through the narration system, without explicitly having vanilla Minecraft narration enabled. The Supplementaries speaker box allows you to do this, but I'd like the ability to do it with Computercraft because it's more dynamic. It might be worth taking a look at the Supplementaries mod to understand more of what I mean.
but I'd like the ability to do it with Computercraft because it's more dynamic.
You can absolutely play text sounds use computercraft speaker, someone made the script
Could you please provide some information on how to do it?
According to the documentation, there is no support for narration in the computercraft speaker: https://tweaked.cc/peripheral/speaker.html
So I'm very confused as to what you're referring to.
Not built in, but CC has a fully working http API https://tweaked.cc/module/http.html With that you can use pretty much every API the internet has to offer, from fetching the current weather to chatting with ChatGPT. Therefore, to realize what you're trying to do, just use a TTS API, send your text to it, fetch the response (the spoken audio) and play it via the speaker.
I've added this request to the AP project, and I probably will add this feature to the next major version
Describe your idea
The Supplementaries mod has a "speaker" that lets you broadcast a message on a redstone pulse. This message can be broadcast as a chat message, a status message, a title message, or a narration. It would be nice if the Advanced Peripherals chatbox could also support narration, so that we can dynamically create narrated messages.
Describe alternatives you've considered if you've any
I don't know of a good way to dynamically program the Supplementaries speaker box
Additional context
No response
Linked Issues
No response