Hello, I’m currently working on a game in which I would like to implement voice recognition into, but I’m not sure if this is possible? In other words, I want the game to recognize when the player says certain words (by feeding it enough audio samples).
Is this possible at all within Roblox? Thanks
Not possible at the moment; it is currently not possible to access the player’s microphone or the audio that is produced from it.
No, if Roblox allowed developers to access the users microphone audio that would be an invasion of privacy.
That’s unfortunate, there’s so many workarounds to being a privacy invasion like asking the user to give the game permission to listen while their mic is enabled
they could make it where you only have acsess when they turn it on aka the green icon
That is how it would work any ways. With this new audio API update i’m curious if you can now detect certain words rather then volume. you can have voice chat detect if a player is talking near a character audio output using an input listener. but that just uses volume. I’d like to create a smart home system where you can arm security features and home automations with your voice via voice chat. but currently i’m not sure it’s available yet. how it would work is when you have the system active , and when you join the game will warn you that your microphone input will be used for the smart home system when it is active. if you would like to not be listened to simply mute your microphone as the listeners in the APIs only listen when it’s actively talking or hearing audio. so mute is still mute lol.