Comments (6)
Is this on a real device or a simulator? If real which device?
I'm definitely not happy with that method of getting the locales. Sure wish Android with fix the default previously working method or implement their suggested new method consistently. However, I've never seen it just hang. That's very surprising. Can you do a run with debugLogging: true
in the initialize
call and post the log output?
from speech_to_text.
This is on a real device Xiaomi Poco F3 (M2012K11AG). I use LineageOS 20 (Android 13) with all available Android patches until 05.04.2024, so the System is very up-to date.
This is the output:
D/SpeechToTextPlugin(11005): Start initialize
D/SpeechToTextPlugin(11005): Checked permission
D/SpeechToTextPlugin(11005): has permission, completing
D/SpeechToTextPlugin(11005): completeInitialize
D/SpeechToTextPlugin(11005): Testing recognition availability
D/BluetoothHeadset(11005): Binding service...
D/SpeechToTextPlugin(11005): sending result
D/SpeechToTextPlugin(11005): leaving complete
D/SpeechToTextPlugin(11005): leaving initializeIfPermitted
D/BluetoothHeadset(11005): Proxy object connected
D/SpeechToTextPlugin(11005): Found a headset: android.bluetooth.BluetoothHeadset@1be0189
I/Gralloc4(11005): Adding additional valid usage bits: 0x546c08202000
I should have everything set up:
from speech_to_text.
So on newer Android builds locales are retrieved using on device speech recognition if it is available. From what I've seen in the past some devices, possibly including Xiaomi do not fully implement all parts of Android. I think there is/was some disagreement with Google that blocked it. I wonder if the on device speech recognition is not working. I'll have a look at the way it looks up the on device and see if maybe it's failing to catch an exception or something there.
from speech_to_text.
I'm using LineageOS which should be almost vanilla Android.
from speech_to_text.
@sowens-csd when you can give me a bit of guidance on how to debug it, I will happily do it. I'm just not really familiar with native android to build up a small test application with ease.
from speech_to_text.
Thanks for the offer. I’d love to work with you on it. Unfortunately it will be a few weeks. I’ll post again when I can work on it. Sorry for the delay.
from speech_to_text.
Related Issues (20)
- [new feature]Support for Command-Based Speech Input HOT 2
- words with soft pronounce not recognized HOT 1
- I'm facing issues with the speech to text plugin HOT 5
- Can't take build HOT 1
- Started listening without any error but cant get speechResult on SM-G9650/DS HOT 1
- in Android HOT 1
- Error when build with real device HOT 2
- W/Bundle (11745): Key results_recognition expected ArrayList<String> but value was a java.lang.String. The default value <null> was returned. HOT 1
- Continuous listening HOT 1
- Compound words issue HOT 2
- [Question:About hiragana in Japanese] HOT 2
- Fails to function with car's Bluetooth connection HOT 2
- 'error_no_match' does not get fired when user stops listening HOT 1
- Not work with airpods in iOS HOT 1
- iOS often misses the first word after calling `.listen()` for n+1 times HOT 3
- Request to Add Option to Disable Notification Sound on Android HOT 2
- [iOS] Entering page again to initialize, the last statusListener is unable to update widgets. HOT 1
- Arabic diacritics (Harakat) HOT 1
- iOS, onResult is not called HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speech_to_text.