I wanted to post a screenshot of a voice command and explain a little bit how it works.
I need to expand the voice command functionality and that is coming.
Here is what you can do with it so far:
You can enter a voice command (eg: "test 1")
When you speak that on the phone, the phone will give you back a list of what it thinks you want. You pick the correct one and then it is sent to the plugin for processing. If you setup a voice command phrase "test 1" then the action you assign to it will be executed when "test 1" is received by the plugin.
Here is an example of a "play artist" voice phrase:
You can see in the screenshot that I give it a name (this can be whatever you want). I then give it a phrase which is "play artist [data]"
You then pick an action to run. You must add actions separately in the plugin. That way you can assign whatever action you want to voice phrases, nfc tags and locations.
Back to the example... if I speak "play artist Whitesnake" into the phone it will give me back a list of what it thinks it heard. Pick the one you want.
I picked "play artist Whitesnake". This is then sent to the plugin. The plugin will strip off the [data] which is Whitesnake in this case and you are left with "play artist".
The [data] can be used in script commands to do what you need with it.
The action I have assigned is called "Play Artist". It is a script command action that consists of this code:
In my example I am simply speaking that "Whitesnake is now playing"
I hope this helps a bit
I need to expand the voice command functionality and that is coming.
Here is what you can do with it so far:
You can enter a voice command (eg: "test 1")
When you speak that on the phone, the phone will give you back a list of what it thinks you want. You pick the correct one and then it is sent to the plugin for processing. If you setup a voice command phrase "test 1" then the action you assign to it will be executed when "test 1" is received by the plugin.
Here is an example of a "play artist" voice phrase:
You can see in the screenshot that I give it a name (this can be whatever you want). I then give it a phrase which is "play artist [data]"
You then pick an action to run. You must add actions separately in the plugin. That way you can assign whatever action you want to voice phrases, nfc tags and locations.
Back to the example... if I speak "play artist Whitesnake" into the phone it will give me back a list of what it thinks it heard. Pick the one you want.
I picked "play artist Whitesnake". This is then sent to the plugin. The plugin will strip off the [data] which is Whitesnake in this case and you are left with "play artist".
The [data] can be used in script commands to do what you need with it.
The action I have assigned is called "Play Artist". It is a script command action that consists of this code:
Code:
hs.Speak("[data] is now playing")
I hope this helps a bit
Comment