Platforms to show: All Mac Windows Linux Cross-Platform
SFSpeechAudioBufferRecognitionRequestMBS class
Super class: SFSpeechRecognitionRequestMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Use an SFSpeechAudioBufferRecognitionRequestMBS object to perform speech recognition on live audio, or on a set of existing audio buffers. For example, use this request object to route audio from a device's microphone to the speech recognizer.
The request object contains no audio initially. As you capture audio, call appendAudioPCMBuffer or appendAudioSampleBuffer to add audio samples to the request object. The speech recognizer continuously analyzes the audio you appended, stopping only when you call the endAudio method. (You must call endAudio explicitly to stop the speech recognition process.)
Requires MacOS 10.15 or later.
Subclass of the SFSpeechRecognitionRequestMBS class.
- property nativeAudioFormat as Variant
- 4 methods
- method appendAudioPCMBuffer(audioPCMBuffer as Variant)
- method appendAudioSampleBuffer(sampleBuffer as Variant)
- method Constructor
- method endAudio
Super class SFSpeechRecognitionRequestMBS
- 5 properties
- property Handle as Integer
- property interactionIdentifier as String
- property requiresOnDeviceRecognition as Boolean
- property shouldReportPartialResults as Boolean
- property taskHint as Integer
- 3 methods
- method Constructor Private
- method contextualStrings as String()
- method setContextualStrings(contextualStrings() as String)
This class has no sub classes.
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
SFPasswordAssistantMBS - SFSpeechRecognitionRequestMBS
