Picovoice / flutter-voice-processor

Flutter audio recording plugin designed for real-time speech audio processing
Apache License 2.0
31 stars 6 forks source link

Use buffer in Swift for Cobra VAD #11

Closed Tryad0 closed 1 year ago

Tryad0 commented 1 year ago

In Flutter I get the buffer from voiceProcessor.addListener(). When I access those buffer in Swift for Cobra VAD I'm getting an error like "Fatal error: Unexpectedly found nil while unwrapping an Optional value".

Thanks!

laves commented 1 year ago

If you are recording and using the audio in ios, you should use our ios-voice-processor. It is not advisable to take audio obtained with the flutter voice processor and pass it back to native code.