Platforms to show: All Mac Windows Linux Cross-Platform
Back to SFSpeechAudioBufferRecognitionRequestMBS class.
SFSpeechAudioBufferRecognitionRequestMBS.appendAudioPCMBuffer(audioPCMBuffer as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
audioPCMBuffer: An audio buffer (AVAudioPCMBufferMBS class) that contains audio in the PCM format.
The audio must be in a native format and uncompressed.
SFSpeechAudioBufferRecognitionRequestMBS.appendAudioSampleBuffer(sampleBuffer as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
sampleBuffer: A buffer of audio. Must be CMSampleBufferMBS class.
The audio must be in a native format.
SFSpeechAudioBufferRecognitionRequestMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
SFSpeechAudioBufferRecognitionRequestMBS.endAudio
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Call this method explicitly to let the speech recognizer know that no more audio input is coming.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.