minimal-c / factoriotexttospeech Goto Github PK
View Code? Open in Web Editor NEWIn-game text to speech; preview, global chat and speaker blueprint generation modes.
Home Page: https://mods.factorio.com/mods/minimal/Text-To-Speech
In-game text to speech; preview, global chat and speaker blueprint generation modes.
Home Page: https://mods.factorio.com/mods/minimal/Text-To-Speech
Reposting issue here for notification since the mod portal doesn't notify you of new threads.
Hey again Minimal!
I found another bug, this one probably isn't an API limitation. One of the mods I'm using (Soundpack: alerts and sirens) adds another category of sounds for speakers, labeled alerts 2. With this mod and yours in use, it appears as though the blueprint chooses the wrong instrument.
I did some digging, and I believe the issue is how you're searching for the right instrument in getCompatibleVoiceInstrumentId(), lines 245 - 255 in textToSpeechGui.lua.
My reasoning behind this:
This would imply that the getCompatibleVoiceInstrumentId() function is defaulting to the index based search rather than the string based one. It could be something else, but that's just what I've thought of/found so far.
Regardless, thanks for the great mod, as well as all the effort you've poured into it! I just recently made a mod myself (albeit a crappy one), so I now have an even greater appreciation for what you've done here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.