Closed Naozumi520 closed 1 year ago
ah, yes, it was hardcoded so voice messages shorter than 1 seconds are ignored to avoid too many requests https://github.com/Rei-x/discord-speech-recognition/blob/076bdc0a6e2aad338e558dc252dd7862a3b5404b/src/bot/voiceMessage/createVoiceMessage.ts#L28
I will add soon option to override it
added in v3.3.0
I tried to put
addSpeechEvent(client, {
minimalVoiceMessageDuration: 1,
})
But it did not detect anything
change it to lower value, like 0.5 or 0.3, experiment with it until you get what you like
Some words like
Hi
andreally
are not detectable, and I didn't see any option to filter short words.