With MacOS 10.15 Catalina Apple includes some new classes for Speech Recognition. We started with a Xojo plugin to use the classes and do speech recognition:
We add this new SpeechRecognition classes for our plugin:
- SFVoiceAnalyticsMBS
- SFTranscriptionSegmentMBS
- SFTranscriptionMBS
- SFSpeechURLRecognitionRequestMBS
- SFSpeechRecognizerMBS
- SFSpeechRecognitionTaskMBS
- SFSpeechRecognitionResultMBS
- SFSpeechRecognitionRequestMBS
- SFSpeechAudioBufferRecognitionRequestMBS
- SFAcousticFeatureMBS
You can already load a file with SFSpeechURLRecognitionRequestMBS class, initialize a SFSpeechRecognizerMBS object for the designed language and run the request. The example above shows the results in a listbox for inspection.
Coming soon in a beta of MBS Xojo Plugins to be used with a beta of MacOS Catalina. We hope to be ready in time for the fall release!