Hi,
I'm trying to build app that records audio on Smartwatch, sends it to phone for google's speech-to-text recognizing and using it with autovoice/tasker. But in this case app must:
- record Raw audio stream for detecting silence
- detect silence after speech to stop recording
- possibly compress it with Lame or other encoder for sending it via SAP/Bluetooth etc to the phone
- on phone also some work for converting Speech-to-Text
- also for feedback on watch, answer also must be converted with Text-to-Speech to audio and send back to watch for playing.
But much easier if smartwatch will emulate bluetooth headset, for example programmatically press headset BT button, google now (or other) will be executed on phone and just send audio stream to phone as bluetooth headset do.
Is it possible to do ?
Thanks for any help.