Post

Replies

Boosts

Views

Activity

Reply to Use two SFSpeechRecognizer with different languages at the same time in Swift 5
After some more trying I found out that only the speech recognition task works, whose buffer comes first. That means if I do it like this: self.speechAudioBufferRecognitionRequest1.append(buffer) self.speechAudioBufferRecognitionRequest2.append(buffer) then the speechRecognitionTask1 works. If I do it like this: self.speechAudioBufferRecognitionRequest2.append(buffer) self.speechAudioBufferRecognitionRequest1.append(buffer) then the speechRecognitionTask2 works.
Topic: Machine Learning & AI SubTopic: General Tags:
Dec ’21
Reply to Use two SFSpeechRecognizer with different languages at the same time in Swift 5
After some more trying I found out that only the speech recognition task works, whose buffer comes first. That means if I do it like this: self.speechAudioBufferRecognitionRequest1.append(buffer) self.speechAudioBufferRecognitionRequest2.append(buffer) then the speechRecognitionTask1 works. If I do it like this: self.speechAudioBufferRecognitionRequest2.append(buffer) self.speechAudioBufferRecognitionRequest1.append(buffer) then the speechRecognitionTask2 works.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21