Questions tagged [annyang]

Annyang is a tiny javascript library that lets your visitors control your site with voice commands.

Annyang is a tiny javascript library that lets your visitors control your site with voice commands. Annyang supports multiple languages, has no dependencies, weighs just 2kb and is free to use.

40 questions
1
vote
1 answer

How to start annyang API to listen after one click on a start botton

I'm not sure if this is a bug. I try to make an even 'onclick' on a start bottom and start listening any word to start the program. But right now is playing the first audio automatically every time when I refresh the page after 3 seconds. Did I do…
Johnny
  • 141
  • 1
  • 2
  • 15
1
vote
0 answers

passing multiple arguments to function annyang (not just voice commands)

I am trying to pass two arguments to my function fill_node: 1) a named-variable and 2) the data type such as mm, kg, etc. Since mm, milimeter are the same, i grouped them into one data type and passed it as the argument, entry type to the function:…
gPats
  • 315
  • 2
  • 17
1
vote
1 answer

Using Annyang on Android WebView

I'm trying to use Annyang ( https://www.talater.com/annyang/ ) on my Android app. Annyang works very well on my PC Chrome browser, even my mobile Chrome browser. However, when I use Annyang on Android WebView, it shows an error to me -…
1
vote
0 answers

$rootScope.$apply does not work on coming back to initial state

The problem is pretty straight forward. I am calling $rootScope.$apply in a function from other library (Annyang) (talater.com) upon a successful command detected by the library. It works fine. However, when I move to another state, and come back to…
kelvien
  • 337
  • 2
  • 13
1
vote
1 answer

Input/Output Database for AnnyangJS

I am currently building a Siri-Like Virtual Assistant using the AnnyangJS Library. Currently I have to enter every single command in the code example demonstrated below. Since this project consists of a decent amount of Input/Output commands would…
1
vote
1 answer

unable to to get the working of Annyang.js library

My question is straight forward How annyang.js is working? is there any api that annyang is using internally?
Musaddique S
  • 1,539
  • 2
  • 15
  • 36
1
vote
1 answer

how to use annyang in input text for special characters

I am using annyang for voice recognition. For all things it is working fine but in login page I want to insert username and password by annyang only. username and password contain special symbols so how can I used annyang for this. like if useraname…
Musaddique S
  • 1,539
  • 2
  • 15
  • 36
1
vote
0 answers

Using voice recognition on nodejs webkit (nw) app fails

I have worked several days on implementing voice recognition in my nodejs webkit app and it failed yo work. I have tried to write a local html file demo for it and it didnt work, so I used apache and putted the demo on a host and still didnt…
Ziv Glazer
  • 786
  • 2
  • 8
  • 24
1
vote
1 answer

What is the best / suggested method to input more than 1 parameter (*val) through Annyang speech recognition library?

Annyang command uses a *val to input values to the callback function. What should I do if I want to input more than one item ? For example, I want to update a form based on user input. So I could have a command like set Name *val then val would…
Chintan Pathak
  • 302
  • 2
  • 5
  • 20
0
votes
0 answers

Annyang.js works when run in localhost but unable to access it from the application

I have a very simple speech recognition code. When I run it in https://localhost:8080/demo.html the speech recognition works fine. But when Im trying to access the same in my Tableau extension api, the microphone prompt itself is not showing. I…
Arsha
  • 77
  • 2
  • 5
  • 11
0
votes
1 answer

Annyang is not displaying input command

I am working on a project and need to input data in a form which contain input task name type=text with id=task_name. The user should be able to input data using annyang voice recognition, annyang is starting and can see red dot on page but when…
Lyfe A1
  • 31
  • 7
0
votes
1 answer

Javascript Speech Recognition to trigger a button

I am a newbie in Javascript Speech Recognition and chose to develop using Annyang library. I want to trigger the "show date" button (without clicking the button) when the user says 'hello'. However, it didn't work. Below is my source codes. Need…
0
votes
1 answer

Annyang.js works in test but after that it doesn't seem to connect

I've tested Annyang in a blank file first. This worked fine, but when I connected the same code to a function in another file it didn't seem te be working. It seemed that the annyang was not connected anymore. The browser didn't ask for permission…
100446902
  • 3
  • 2
0
votes
1 answer

Greensock in annyang command

I'm quite a newbie with annyang. I'm trying to add a Greensock Timeline in a annyang command, but it is not working. I am wondering if it is not possible or if I'm doing something wrong. This is the code were it is about: var tlcrocodile = new…
0
votes
1 answer

How can I call Speech Recognition multiple times in 1 function?

I am relatively new to JavaScript and currently working a project a beginner probably shouldn't start on. I have been coding for some time in python and decided to give it a shot. I am trying to make a personal assistant, or as I like to call it,…