1. Introduction
Description: Easily integrate speech-to-text functionality into your Kodular apps with the MicrosoftSTT extension. This powerful tool leverages Microsoft’s Speech-To-Text API to provide accurate and efficient audio transcription.
Latest Version: 1
Released: 2024-07-26T18:30:00Z
Last Updated: 2024-07-26T18:30:00Z
Permissions: android.permission.READ_MEDIA_AUDIO
or android.permission.READ_EXTERNAL_STORAGE
(depending upon Android version)
Sponsored by @Homie
2. Blocks
3. Documentation
Events
GotError | Event raised when error occursmethodName | text errorMsg | text |
GotTranscript | Event raised when audio was successfully transcriptedresultText | text |
Methods
TranscriptAudio | Get text from audio (wav) fileaudioFile | text audioLang | text |
Properties
SubscriptionKey | Set Ocp Apim Subscription key Property Type : write-only Accepts : text |
ResourceRegion | Set resource region Property Type : write-only Accepts : text |
Note: resultText
parameter will be json text in case of error. Check if there is RecognitionStatus
in result or not. If it is present then an error occurred in backend. In this case, its value can be NoMatch
, InitialSilenceTimeout
, BabbleTimeout
or Error
Success
is never returned in resultText
4. Usages
First set credentials.
You can set them from Designer property also.
Now either pick audio or provide its path directly. Extension only supports wav files.
only file paths are supported, so if you got an uri then convert into file path
Get transcripted text
GotError
method delivers internal and HTTP request errors only
Read more about Microsoft SpeechToText API here:
Supported Launguages:
5. Purchase Extension
PayPal: PayPal.Me
UPI: vknow360@apl
Thank you.
Hope it helps!