VoxCommando

New Features and Feature Requests => Feature Requests => Topic started by: user13 on November 27, 2013, 10:47:22 AM

Title: Android VoxWav
Post by: user13 on November 27, 2013, 10:47:22 AM
First of Vox Commando rules  :), it really made my home automation complete, thank you for that.
i was wondering if it would be possible to integrate the android app VoxWav with the app Tasker?
so then i can create different ways to activate the mic and be able to issue commands without having to open the app or hold/tilt the phone to send my commands to the PC.

Maybe something like Google now, where a mic popup and you can issue commands from anywhere

unless all of this is already integrated and i missed something, please let me know :)

thank you
Title: Re: Android VoxWav
Post by: Kalle on November 27, 2013, 11:28:20 AM
Hi user13 and welcome in VC forum.

VoxWav can run in the background with screen off or a other app in forground and the mic will be enable by the tilt switch from your android device.
Title: Re: Android VoxWav
Post by: user13 on November 27, 2013, 11:37:44 AM
Thank you very much for the quick reply.
one question, doesn't this option consume a lot of battery power? when i's running in the BG?

thanks
Title: Re: Android VoxWav
Post by: Kalle on November 27, 2013, 01:39:14 PM
No, the battery consumption is not really high, on a Galaxy S2 smartphone 2% per hour. I've tested it also on a smartwatch (Pearl AW414go) which have the same battery consumption with VoxWav.
Title: Re: Android VoxWav
Post by: jitterjames on November 27, 2013, 05:32:07 PM
If you normally leave WiFi on then using this feature probably won't make a huge difference to battery consumption.  Of course it depends on a few factors.  If you are frequently tilting the phone enough to start recording, without realising it, then it will cause battery drain.

I am looking into extending VoxWav with shortcuts and possibly some tasker integration but I don't know much about it so I have to figure it out.  VoxWav is the only android app I have authored to date.
Title: Re: Android VoxWav
Post by: user13 on November 28, 2013, 04:21:21 AM
thank you for the feedback, i'll give it a try and report back if i see big battery lose.
another quick question now that you mentioned the watch, is it possible to use a Bluetooth headset instead? and when you click the button on the headset it activates the mic?
Title: Re: Android VoxWav
Post by: Kalle on November 28, 2013, 09:07:49 AM
No, I've tested this on the smartwatch and found no way to use a bluetooth headset with VoxWav as input.
Title: Re: Android VoxWav
Post by: jitterjames on November 28, 2013, 09:20:08 AM
Not sure sure if you are talking about Bluetooth with android or Bluetooth directly with your PC but Bluetooth is generally not recommended because of poor quality.

See: http://voxcommando.com/mediawiki/index.php?title=Microphones

As for the headset button pressing, you can't do this with VoxWav but depending on your hardware it may be possible with EventGhost and a headset attached to you PC.
Title: Re: Android VoxWav
Post by: user13 on November 28, 2013, 09:49:07 AM
i should have made it more clear, i was talking about Bluetooth to android not PC.
you dont think with the 3.0 and 4.0 Bluetooth you should be able to issue commands comfortably from the headset?
i agree the old Bluetooth was terrible for voice commands but the new headsets have very decent mic and quality.

i do use Eventghsot a lot actually so i'll try to test the headset with the PC directly.

thanks for the all the feedback
Title: Re: Android VoxWav
Post by: jitterjames on November 28, 2013, 02:39:08 PM
Well, as Kalle said, I don't think you can use a bluetooth headset with VoxWav at all (it won't recognize it as an input device).  This is because Android does not treat bluetooth devices the same as a regular microphone and requires each app to write their own code to handle bluetooth.  Since the quality is not good enough anyway there is no point in taking the time to try to figure out how to add this code.

If you think a newer bluetooth headset would work with a PC then please try it and let us know.  If it does work well please tell us the exact model of headset that you tested.  As far as I know the bluetooth standard does not allow for enough bandwidth to work well with the Windows speech recognition engine that we are using.

There is another Microsoft engine (Windows Speech Server) that we may add support for in the future (VoxCommando version 2).  This is also a Windows engine that supports more languages and may work better with bluetooth headsets.  However this engine does not allow training or the use of payload dictation.

For more info on the "other" engine see this link:
http://msdn.microsoft.com/en-us/library/hh362873.aspx
Title: Re: Android VoxWav
Post by: Sinbe on January 07, 2014, 08:25:40 AM
This might be interesting as well: http://forum.xda-developers.com/showthread.php?t=2554173

Right now I can use Google Now + Auto Voice + AutoRemote + Tasker to launch stuff on my PC via the Google Now search. However I'm missing some options I have in VoxCommando (Mainly the mpwifi plugin that controls MediaPortal) and for those I have to launch VoxWav. If it would be possible to use either Tasker or the Google Now Api to talk to VoxWav which would give orders to VoxCommando, I wouldn't have to use anything else than Google Now to control everything in my home. That and a phone like Moto X with integrated speech recognition processor would mean less battery drainage and always on speech recognition with unlimited options.
Title: Re: Android VoxWav
Post by: jitterjames on January 07, 2014, 01:10:38 PM
Right now I can use Google Now + Auto Voice + AutoRemote + Tasker to launch stuff on my PC via the Google Now search.

What kind of battery drain to you get with all this running?  How do you achieve the the "always on".  I would expect any kind of always on speech recognition on your phone to kill the battery pretty fast.
Title: Re: Android VoxWav
Post by: Sinbe on January 08, 2014, 09:48:55 AM
I haven't really tested the battery usage yet. I'm thinking I might have a wired Android device doing this stuff. There are two options I've found so far: AutoVoice (http://play.google.com/store/apps/details?id=com.joaomgcd.autovoice) has the ability to listen to Tasker commands all the time and OpenMic+ (http://play.google.com/store/apps/details?id=com.RSen.OpenMic.Pheonix) that works with Google Now and can actually change the "okay google" hotword as well. Autovoice can be configured to work with or without a hotword via Tasker.

The Motorola Moto X has a processor dedicated for speech recognition. That way the battery drain should be very low and the quality of the recognition very high. I don't think the phone has been released on the European market yet and I'm pretty sure it's the only phone with this option right now.
Title: Re: Android VoxWav
Post by: nime5ter on January 08, 2014, 10:04:04 AM
OpenMic+ (http://play.google.com/store/apps/details?id=com.RSen.OpenMic.Pheonix) that works with Google Now and can actually change the "okay google" hotword as well.

For an 'always on' solution it's definitely good if you can change the hotword (or prefix, in VC-speak). "OK Google" currently seems to activate a Google Now search if you say just "OK", not even the whole phrase "OK Google". With the mic always listening, I would expect it to accidentally activate a lot -- any time it hears someone in the vicinity say "OK" in passing conversation.
Title: Re: Android VoxWav
Post by: Kalle on January 08, 2014, 11:10:09 AM
here is a new video in which you can see how VoxWav work on a Smartwatch  :o

https://www.youtube.com/watch?v=TMPstHDvnM8 (https://www.youtube.com/watch?v=TMPstHDvnM8)
Title: Re: Android VoxWav
Post by: nime5ter on January 08, 2014, 11:30:24 AM
Nice! I particularly like the bilingual TTS feedback. :)
Title: Re: Android VoxWav
Post by: Kalle on January 08, 2014, 11:32:39 AM
Haha, I'm too and it works perfect with VoxWav  ;D
Title: Re: Android VoxWav
Post by: jitterjames on January 08, 2014, 11:50:34 AM
Excellent Kalle.  Looks like it really works well.  You should post this to the Omate facebook page for sure!  Thanks for taking the time to make this really nice demo!  :clap ::banana
Title: Re: Android VoxWav
Post by: Oktane83 on April 13, 2014, 09:02:51 PM
Hey guys I just had a question regarding voxwav pro. I purchased the other day and there is a widget for phrases. I can't seem to put a shortcut on my android device with that widget.

Would you guys be able to add phrase shortcuts to the widget? For instance if I put the widget on my home screen I could configure the widget to run a specific phrase. Like "what song is this". I press the widget and it sends the "what song is this" command to VC.

If there is any way you guys could implement that, that would be amazing!! Please consider this!

Title: Re: Android VoxWav
Post by: jitterjames on April 14, 2014, 10:19:23 AM
This is indeed a feature request.  What exists now is just a shortcut or entry point, or whatever you call it, that opens VW on the phrases view instead of on the main view.  I was really just experimenting and I did not get very far with it.

I will consider your request for a future release but don't expect to see it appear any time soon.  For one thing I have no idea how to implement widgets in Android, and for another, I'm not currently working on any changes for VoxWav since I am busy with other things, and VW Pro is currently stable and working very well.

I will definitely keep it in mind for a rainy day though.   :D  Thanks for the suggestion.
Title: Re: Android VoxWav
Post by: xtermin8r on April 15, 2014, 12:13:52 PM
Hey guys I just had a question regarding voxwav pro. I purchased the other day and there is a widget for phrases. I can't seem to put a shortcut on my android device with that widget.

Would you guys be able to add phrase shortcuts to the widget? For instance if I put the widget on my home screen I could configure the widget to run a specific phrase. Like "what song is this". I press the widget and it sends the "what song is this" command to VC.

If there is any way you guys could implement that, that would be amazing!! Please consider this!



I think it's possible to create a Android home screen widget, that can send home automation and vc commands such as "what song is this", using software from:
http://www.xwidget.com

and using Javascript code such as:
function button8OnClick(Sender)
{
  DownloadString("http://192.168.1.123:8081/api/vc.tellvox&&what song is this,"downtxt",false);
}

tried and tested on windows 7. I'm sure, it will work also on android devices.
Title: Re: Android VoxWav
Post by: Oktane83 on April 15, 2014, 01:20:36 PM
I actually got it working with tasker, so this is amazing. Thanks for the reply tho!

Cheers.
Title: Re: Android VoxWav
Post by: Bleazle on May 08, 2014, 06:23:52 PM
I wasn't too sure where to post this, hopefully this thread is OK...

Not sure if you already know this but due to the "menu" list having been moved to the top right on the Samsung S5 now there is no room for any connection information after the Aerial icon in portrait view. Also I would love it if there were options in the setup menu to set the position of the Hold/Speak button (or select from say 3 preset options) - personally around the middle of the screen would work better for me - my thumb doesn't sit at the bottom of the screen when I hold the phone... it's the little things  ;D ;D
Title: Re: Android VoxWav
Post by: jitterjames on May 08, 2014, 07:02:25 PM
Not sure if you already know this but due to the "menu" list having been moved to the top right on the Samsung S5 now there is no room for any connection information after the Aerial icon in portrait view.
I'm not sure what you mean by this, but a picture is worth a thousand words so maybe you could post  a screenshot and explain again.  I use VoxWav Pro on my watch which has a screen resolution of only 250x250 and it works perfectly.  I have access to all menus.

Putting the talk button in the middle would make no sense because that is where information about what was recognized is shown, as well as popup windows for alternates, confirmation requests, and OSD messages.  How could your thumb not be at the bottom?  MADNESS!
Title: Re: Android VoxWav
Post by: Bleazle on May 10, 2014, 06:21:23 PM
I have access to all menus too, my point is that the menu "button" is no longer a hard coded button beside the "Home" button on the S5 so in the case of VW it has been moved to the top right of the screen. As a result there is no way of seeing if VoxWav is connected to VC in portrait view. I can't think of any other way to say that so hopefully the screenshots explain what I mean.

Re: Thumb thing - I hear what you're saying about not being able to move the button, but "MADNESS"? - I'm guessing my hands have had a harder life than yours; too many broken bones and dislocations as a result of crashes from dirt bikes, kite boarding accidents, Karate injuries, more motorbike crashes, etc etc - put it this way when I went through L.A. airport last year and a Customs officer told me to scan my finger prints I showed him my hand and he said "OK, just try"  ::) Ironically I was on the way to Romania to compete in the Red Bull Romaniacs, but that's another story ;D ...  I used to use "tilt" function and it worked well but in the Alpha releases it seems as though "tilt' is still active even when VW isn't in focus (maybe it is something to do with the S5?). I use MediaMonkey Remote as well as VC and I was having problems with the audio being muted (due to the ducking script in VC) when I changed the volume using MMR. I would move the volume slider on MMR but the volume would revert back to what it was set to before I changed it so I assume the SoftUnmute of the ducking script was coming into play there. NOTE: I don't have VW set to "keep alive".  I haven't tested this in the latest version of VC and can't do this at the moment but let me know if there's anything you want me to try... Just thinking, I'll test this on my S2 (VWPro with VC Alpha) when I get a chance and let you know the results.

Cheers.