hyperloop-modules / titanium-speech Goto Github PK
View Code? Open in Web Editor NEWUse the iOS 10 SFSpeechRecognizer API in JavaScript with Appcelerator Hyperloop.
Use the iOS 10 SFSpeechRecognizer API in JavaScript with Appcelerator Hyperloop.
When i stop the speech recognition ("live audio" in the demo project) with TiSpeech.stopRecognition();
and i restart the speech recognition with TiSpeech.startRecognition for the second time, I get this error:
[ERROR] An error occurred with speech recognition
[ERROR] Error Domain=kAFAssistantErrorDomain Code=209 "(null)"
Hello
I tried the sample app on iOS 11, Titanium SDK 7.4.1GA, Hyperloop 3.1.4
but the app crashed when launching
How to use the Speech2Text module ?
thanks for your help
Before making changes to anything the example app crashes on iOS 10.3.3. Not sure what is going wrong.
Issue is solved. Had to do with improper trap.xml configurations. Code is working as expected.
Unable to use recognition based on an existing file. Whatever the file URL is set to I get:
*** -[NSURL initFileURLWithPath:]: nil string parameter
Have Tried:
all fail with the same error.
I used titamium.speech on my app without problems xcode 14.3.1 sdk 12.1.1 hyperloop 7.0.5, but when I updated to xcode 15.0.1 sdk 12.2.1 and hyperloop 7.0.6 I got this error:
[ERROR] /ti.kernel.js:792
[ERROR] throws new error(Requested form not found: ${request}
); // TODO Set the 'code' property to 'MODULE_NOT_FOUND' to match Node?
[ERROR] ^
[ERROR]: Required module not found: AVFAudio
[ERROR] on require (/ti.kernel.js:792:24)
[ERROR] at (/ti.speech.js:21:35)
[ERROR] on loading (/ti.kernel.js:634:24)
[ERROR] in loadJavascriptText (/ti.kernel.js:927:20)
[ERROR] in loadAsFileOrDirectory (/ti.kernel.js:904:37)
[ERROR] on require (/ti.kernel.js:785:46)
[ERROR] in controller (/alloy/controllers/cerca.js:1625:17804)
[ERROR] in (/alloy.js:427:48)
[ERROR] when opening (/alloy/controllers/home.js:57:27)
[ERROR] on onSearch (/alloy/controllers/listaProdotti.js:767:37)
[ERROR] Foundation 0x000000018aad4794 _NSDescriptionWithLocaleFunc + 80
[ERROR] CoreFoundation 0x000000018bb1b1dc B37A1273-B0C2-312E-9E0B-7143FB645C69+127452
[ERROR] CoreFoundation 0x000000018bb18788 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 184
[ERROR] CoreFoundation 0x000000018bb186c4 _CFStringCreateWithFormatAndArgumentsAux2 + 44
[ERROR] TitaniumKit 0x0000000102c25a60 TiLogMessage + 52
[ERROR] TitaniumKit 0x0000000102c550f4 -[TiExceptionHandler reportScriptError:] + 60
[ERROR] TitaniumKit 0x0000000102c46908 TiBindingEventProcess + 668
[ERROR] TitaniumKit 0x0000000102c600f8 -[Invocation KrollContext:] + 84
[ERROR] TitaniumKit 0x0000000102c60160 -[KrollContext queue:] + 84
[ERROR] TitaniumKit 0x0000000102c65eb8 TiBindingRunLoopEnqueue + 68
[ERROR] TitaniumKit 0x0000000102c46984 TiBindingEventProcess + 792
[ERROR] TitaniumKit 0x0000000102c600f8 -[Invocation KrollContext:] + 84
[ERROR] TitaniumKit 0x0000000102c60160 -[KrollContext queue:] + 84
[ERROR] TitaniumKit 0x0000000102c65eb8 TiBindingRunLoopEnqueue + 68
[ERROR] TitaniumKit 0x0000000102c64bc4 -[TiProxy fireEvent:withObject:propagate:reportSuccess:errorCode:message:] + 184
[ERROR] TitaniumKit 0x0000000102c4c854 -[TiViewProxy fireEvent:withObject:propagate:reportSuccess:errorCode:message:] + 204
[ERROR] TitaniumKit 0x0000000102c41208 -[TiUIView touchEnded:withEvent:] + 84
[ERROR] UIKitCore 0x000000018df229c0 F1A8BD61-9CF2-3054-B622-CB63D6CEB4CB + 2107840
[ERROR] UIKitCore 0x000000018df22364 F1A8BD61-9CF2-3054-B622-CB63D6CEB4CB + 2106212
[ERROR] UIKitCore 0x000000018df215e4 F1A8BD61-9CF2-3054-B622-CB63D6CEB4CB + 2102756,
Can you help me?
Thanks a lot for sharing...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.