Welcome

Over the last several years I've been dealing with various stages of disability thanks to ALS. My goal is to share solutions and review various products/tools/devices that I have found particularly helpful.
Showing posts with label voice recognition. Show all posts
Showing posts with label voice recognition. Show all posts

Tuesday, 27 January 2015

Accessing the Power of Autohotkey through Voxcommando


Back when I first mentioned voxcommando, I talked about how it can be used with autohotkey, but didn't provide an example. Honestly, I wasn't quite Happy with it for me to put public and I wanted to solve an example to do with pushing buttons in dialogue boxes. Now that I have it figured out… Here it is! :-)

Autohotkey and voxcommando example.zip

Yes, I know Python is integrated into voxcommando as a plug-in. So please don't jump on me for not using it. I chose to use autohotkey for two very specific reasons. First off, autohotkey is intended to emulated mouse and keyboard input. Which is exactly what I needed to achieve. In particular we need access to the Windows key button. Which I'm not sure can be easily achieved through Python. This is native and integral to autohotkey.


Secondly, which is a bit more off and aside. Autohotkey provides a hotstring and hotkey override/functionality. Which is particularly useful with a disability such as ALS. Because of this, I had developed a previous understanding of autohotkey.

Okay, about the example. Its core functionality is really quite simple. I create a command inside voxcommando, which is then used to execute a autohotkey scripts which passes in a command line parameter, such as "showdesktop". The command line parameter is then parsed out and the relevant bit of script is executed. Which in this case is to press Windows key and D (or in autohotkey language Send #{d} ).

In the example script, you will find examples for the snapping a window to the left, right and the four corners of your screen. Force rebooting your computer (don't worry it asks for confirmation first.) And how you can use autohotkey to pushing buttons in dialog boxes.(Eventually, I may expand it to do more. Right now it does just buttons)

I am told user account controls no longer
provides much benefit. Make it less annoying by
shutting it off
The dialogue box and button example was something I really wanted to get working. It provided more headache than expected, which is what caused the delay in publishing this article. However, the difficulty was not in the autohotkey script itself, nor voxcommando. Both of those worked beautifully. The issue was in finding a way around the user account controls provided by Windows. This was blocking the  autohotkey script to push the buttons. I tried numerous solutions and workarounds. The most successful support program was something called "UAC trust shortcut". While this worked, the functionality was erratic. Sometimes it would work, sometimes it would not. Could not figure out why. I found the best solution was to simply turn off the user account controls altogether.

What's that you say? It's a security feature? Yes it is. However, I discussed at length some of my computer programmer friends (who have much bigger brains than my own) that the security provided by user account controls is somewhat outdated and offer little benefit anymore. So would their assurances, I have turned mine off. (Don't worry. There is nothing compiled in the zip file. You can examine all the autohotkey scripts before using them).

Okay, I can get you thinking, "why is this a problem?" Well, in order for autohotkey to be able to send button commands to another dialog box. That Script needs to be run as an administrator, then the upgraded to do so, he has to come from another script.

Dont forget, if you want to give this script a try you need to install autohotkey from http://ahkscript.org/ other versions will likely not work.

Because autohotkey and voxcommando play so very well toghther, each get a thumbs up!

Tuesday, 16 December 2014

Voxcommando and the Blue Snowflake microphone

As you know, I've been in progress of transferring my computer usage from the desktop to something more portable. My Windows Surface 3 tablet. Part of the reason for doing so is in preparation for the likelihood that ALS will eventually take or compromised my ability to speak. Setup is going rather well, but in the meantime my voice is still hanging in there! Which is great as this gives me another level of control over my computer environment.

Obviously, one of the first things I did was install Dragon NaturallySpeaking for dictation. And one of the first things that became apparent, was the built-in microphone on my tablet… To state it politely… Sucks for dictation. It is however just fine for things like a Skype.

Secondly, one of the biggest things that I have found to be missing from the Dragon naturally speaking basic and premium is the ability to execute macros by voice. Sure, the premium edition (which is the one I have, version 11.5) allows you to create some custom commands. But these extend to being little more than pasting predefined text… So far other than items like your address, phone number and perhaps a few passwords… It is not terribly useful. You cannot tell it to do a set of predefined actions or anything more complicated. Above all, there is no way to use the Windows key through voice commands. This removes very basic, managerial functionality from my desktop and that it use all the time. Such as snapping a window to the left or right of the screen…

Sure, you can do this in the Dragon NaturallySpeaking Professional edition, but you need to be prepared to spend over $500 and the a programmer.

This brings us to:

The Blue Snowflake Microphone

like I said, for dictation the built-in microphone on the tablet doesn't work very well. I was continually getting poor audio quality warnings and disconnections. As you know, if you use Dragon it recommends using a headset for the best results. Having ALS and no function of my Hands eliminates that option for me. So after looking around at a few desktop microphone options, and trying a few cheap alternatives. I settled on trying in blue snowflake.

I found it on Amazon.ca for about $50. It is small, compact and sits nicely on the top right-hand corner of my tablet. There are no drivers to install or manage. Just plug it in via USB and it works! It is advertised as providing a near professional sound recording quality. And though I have not tried it for that specifically. It works extremely well with Dragon NaturallySpeaking. Almost as well as a headset. I do have a few misrecognitions, but the frequency is such that it could be just the changes to my speech brought on by the wonderful ALS. When using it in a quiet environment, I have very few poor quality audio warnings.

Apparently, the microphone is somewhat directional as well. Which would obviously help with eliminating the background noise.

The one issue I have found is more to do with the tablet and anything else. It has a single USB port. Into which I have to run my eye tracker and the microphone, necessitating a hub. It would seem that the power supply from the tablet to the house is ever so slightly insufficient to power both (three if you count the hub) devices. The eye tracking seems to fail and reset a bit more frequently as opposed to when it is directly plugged into the tablet.

This could be a simple fix, I have yet to try it. But I may just have to find a different hub which has its own power supply.

Long story short, the blue snowflake microphone is a relatively inexpensive, and excellent upgrade to the system. The far superior to any other best top microphone I have used.

Voxcommando

As mentioned above, Dragon NaturallySpeaking really is excellent for dictation but has a huge gap in what I would consider essential functionality for voice control over your computer. This gap is filled in beautifully by Voxcommando. In short, it allows you to the family easily set up predefined VoiceCommands which can be used to execute a macro on your system. It also comes with a whole bunch of predefined plug-ins which will also allow you to voice control your:
  1. Vera home automation system 
  2. Hue lights
  3. iTunes
  4. XBMC (Both local and remote)
  5. Windows media Center
These are but a few of the default profiles it comes with. As you become more familiar with it though is a whole bunch more plug-ins you can modify and work with. All relatively easily.

As you know, I've been playing with home automation systems for some time. I've tried voice control through Siri proxy and raspberry pi, writing my own Windows  speech recognition scripts and so forth to varying degrees of success. But right out-of-the-box, if you run Voxcommando in Vera or Hue mode. After a few minor settings like the IP address and generating XML (by pushing a button and voxcommando) you will have voice control over your environment. Which for me is huge! It is by far the easiest way to get voice control.

For me, I have found it works very nicely in conjunction with Dragon NaturallySpeaking. As a matter of fact, both programs are running right now I have Dragon actively dictating, with Voxcommando in standby mode. Where it passively listens but will not activate the command unless a prefix word is said first. So what I typically do, is I tell Dragon to "go to sleep" and then use my keywords followed by the command to activate voxcommando. Then, whenever you turn to dictation simply tell Dragon to "wake up".

As with anything, there is of course a bit of a learning curve. But, setting up the basic commands is extremely easy and the website provides some very good tutorials for getting started.

Voxcommando has lots of default Windows command you can work work to manage your environment. Including the Windows key. However, being the geek that I am and wanting to completely have dominion over my systems… It is very easy to marry up voxcommando with auto hotkey. This gives you complete control to do literally anything. Just to give you an idea, I've always found desktop real estate to be at a premium. Even more so on the tablet where screen space is limited. Using voxcommando with auto hotkey, it is very easy to create a script that will snap a window to say the top left of the screen. Rather than just the the left side.

The script for auto hotkey was also very easy to write. You could either write a whole bunch of one off the scripts that do specific things. But personally I found this to be cluttered and unpleasant to manage. I use a single script which is executed by voxcommando which passes in a command line parameter (e.g. SnapTopLeft) which is caught and then executed by auto hotkey.

If you use voice control for anything, or even want to give it a try. I highly recommend voxcommando. It is a free unrestricted trial, meaning all features are available but will require a restart after I believe 25 commands. If you want to buy it, it is only $40 Canadian which provides you with to license keys.

Wednesday, 20 August 2014

Eye Tracking, Windows Surface & a Broken Arm

If you've been following this blog for some time, you note that have been anticipating the lack of use of my hands and have been looking for solutions to allow me to continue to access my computer. For some time now I've been keeping an eye on the PC eye go by Tobii (see what I did there?) And I've been pushing my rehab facility to look into it.

Now, my rehab facility had access to one of the earlier Tobii eye tracking computer solutions but it was prohibitively expensive and not to the usual computer standards I am used to. Ringing in at about C$10,000. So once I knew about the Windows surface and the PC eye go, for total of about $3000 I was pushing my rehab facility pretty hard to get one for trial, which they recently did. And fortunately, I was the test case for it. As a matter of fact, I'm using it right now in conjunction with Dragon NaturallySpeaking. I did try Windows speech recognition which is functional, but frustrating as this comprehension was not nearly as good.

yeah, that hurt
The goal of the evaluation was to find out how easy it is to use for my day to day computer needs and how easy it is to keep calibrated. Also evaluating any physical demands it places on me. And unfortunately, my evaluation turned into a far more realistic experience than expected as about two weeks ago I fell and broke my right arm in four places. Three and the rest, one in the shoulder. Eliminating the use of my hands and any ability I had remaining to access my desktop computer. I immediately became dependent on the eye tracking.

That said, broken arm and all I have to say I'm extremely pleased with the eye tracking experience. In particular I'm glad I had it on hand after the fall (see where they did there?) As without it I would've had zero computer access. Once I figured it out, it is very easy to keep calibrated. However I do have to point out it is very sensitive to changing lighting conditions. For example in the evening when the sun is setting and the lights in the house are going on. This can really wreck calibration. So as lighting conditions change you may have to frequently recalibrate. But, if you do this often enough as you start noticing changes in the precision. It's not that big of a deal. However if you wait too long, functionality can be completely lost, in my case I have to ask for help to push the on-screen buttons.

After calibration, there are two primary ways you use the eye tracking to interact. Via mouse emulation which I don't particularly like and gaze selection, which is awesome.

Mouse emulation actively tracks ways you working on the screen and moves the mouse cursor accordingly. This can be quite frustrating as they can be a little "drift" between where you are looking at where the cursor is. This results in chasing the mouse cursor across the screen. Needless to say, annoying. Secondly, to send a click you have to dwell where you want the click that happened. A.k.a. stare at it. Now as your eyes are always making slight movements, even when you think you are fixed on a particular location this can be just enough to prevent selection from happening. And then added to it the tendency to look at the cursor from problem number one… Again annoying.

That said, it does work and it does have its place.

Now the gaze the selection is really great. There is a bar overlaid on one side of the screen which you look at to select the desired mouse function, and then you look where you want that action to happen. It also has its own on-screen keyboard which takes up about half of the screen. This may sound like a lot of screen real estate, put on the tablet it makes the buttons not that huge. But the are extremely easy to look at and type with.

I had a few issues with keyboard layout, just for my habits of typing and the tendency to want to do some programming/scripting but all in all it's very functional and very responsive. It is of course slower but if you're using it in conjunction with Dragon naturally speaking. Very pleasant experience. The eye tracking keyboard by itself is perfectly functional for shorter replies to e-mails, Facebook and twitter updates and so forth.

Using VNC & eyetrack to remote
connect to desktop to use Dragon
One of the things that have appreciated the most, is using VNC to remote connect from the tablet to my desktop. This is been extremely handy (see, did it again). Using the eye tracking on the tablet as essentially the mouse to access some specific programs and functionality I had on my desktop.

I would have to say there's only two things about the gaze selection I had issue with. The first off, is there is no auto completion reword expansion built into the on-screen keyboard. Even the default Microsoft on-screen keyboard has this as an option. As you're essentially hunting and pecking one letter at a time to type. This would've been an extremely useful addition. It is however easy enough to install a third party piece of software such as wordQ to add this functionality. And then add a little auto hotkey script on top of that for easy access (just so you don't have to turn the keyboard page to access the number pad)

The second thing has to do with the built-in scroll tool. While it is perfectly functional, it is a little frustrating to use when scrolling through say and longer webpage. Use for example have to look at the bottom of the screen while, at the corner of your vision keeping an eye on the top of the screen to know when to stop scrolling. He really needs a page up/page down button. This is something that's also easy to solve with auto hotkey scripts, as a matter of fact, already written and tested.

I also tried plugging the tablet into my windows of seven desktop with a 22 inch monitor. The functionality was nearly identical with some changes due to Windows 8 Metro interface not being present. It was again extremely easy to set up and calibrate, and of course had been the much larger screen made selections extremely easy as I had much larger look targets.

All in all, I'm extremely pleased with the Windows surface to Pro tablet and a Toby eye tracking functionality. And, seeing as the fall has pretty much put an end to the use of my arms and hands in any functional sense for computer access. I am in the process of ordering one. I am however a bit undecided as to whether or not I want to order the Windows surface Pro three.

One thing to consider however is that on battery power the Windows surface 2 Pro with the eye tracking plugged in is only given me about 2 1/2 hours of power. Not that big of a deal, but you do have to keep it in mind.

Also, if you're anticipating the loss of the function of your hands. I would suggest it's worth acquiring the eye tracker (perhaps not the tablet right away) and becoming familiar with it earlier rather than being pushed in at the deep end. Before I broke my arm, I had a few occasions where it needed to interact with it manually. Particularly when I was learning about the calibration.


Thursday, 20 March 2014

Status report

You've probably noticed that I've not been posting much recently… My apologies for that, I do have a backlog of topics I want to get around to posting, but it's becoming increasingly difficult for me to do so.

I seem to be crossing a number of tipping points which is making things much more difficult for me. In particular, my balances rather severely affected. I can still walk, but am prone to falling. This is probably the biggest reason I've not been posting much, as I spend my days on the ground floor and my computer is in the basement. Stairs are scary!

The bandage they gave me
was a bit oversized.
I don't have much use of my arms and hands at all anymore which I'm going to say is probably the biggest reason why my balance is shot. No arms, no balance. As a matter of fact, I took quite the fall the other night. I was standing behind my son while he was brushing his teeth for bed. For some reason for right knee buckled and I fell backwards clipping the edge of the toilet with my right eyebrow. Leaving quite the boxers scar About 1/2 inch long. My four-year-old was very good about it and just asked why I had a hole and was leaking. Got lucky on that one though. Another inch or two towards the toilet seat and it could've been much worse. Ending up with more than just a "sexy scar" for the ladies.

My speech is just starting to be affected, just enough to start messing with my voice recognition. I'm also finding I'm speaking more softly, mumbling and having to repeat myself more. Fortunately my voice bank is all ready to go. Hopefully I won't need it for quite some time.

Steve Gleason Super Bowl ad for eye tracking
with Microsoft surface
Between these two issues, I'm starting to seriously consider alternative computer options For you zero, constant access. I've been monitoring Tobi eye tracking for some time, which is the solution I think I will go. They have a nice package for sale with the Windows Surface2 & Eyetracker for about $3000. Expensive, but the prices came way down from where It was.

That being said Tobi has a partnership steel series gaming trying to bring eye tracking mainstream. These are due out this summer,  should drive the price down even further. Going to try to hold on until then…

But! Still rolling!
With everything that's going on, and the balance issues the wife and I have been looking to move. We find a place that should work out for us. I ground floor apartment with elevator access from the garage. This should at least give me more in the way of computer access. Took a long time to find a good apartment that would be good for the family, accessibility and my mental health. But finally found one. We just put our home up for sale.

We both hate to move. We love the neighbors and the neighborhood fortunately however we are only moving a few blocks.

So until the dust settles sometime in July, I don't expect to be able to spend much time in front of the computer. But please, feel free to follow my daily adventures on twitter until then.

Saturday, 21 December 2013

The Blue Ant

No… not this guy!
A few months back I came a cross the blue ant commute hands free device, which seem to address an issue I've been having with my iPhone. Which is, hands-free answering, and while I've jailbroken my iPhone to allow hands-free control, the one big thing that's missing is the ability to verbally answer a call. Sure, I can activate Siri and place a call. But if someone is calling me, I still have to pick up my phone and physically answer it.

Honestly, I think this is probably the single biggest accessibility feature missing from Apple products. Voice triggering. I really wish they would add it, if they had I very likely would not have jail broken my iPhone.

What caught my attention was that once this devices. With your phone, it acts like any other hands-free device but allows voice activation. I could toggle Siri simply by saying "launch phone control", which is essentially the same function provided by the jailbreak with hands-free control. But if someone were to call me, the blue ant would ring, in the same way as it would a Bluetooth headset but, having integrated with my phonebook it will verbally tell me who's calling and all I have to do is send say "answer".

Needless to say, with failing dexterity this is rather interesting.

I've been using it on and off for couple months and surprisingly I'm not finding it quite as useful as I had hoped. First of all, I'm told that the audio quality for the person I'm talking to is quite good. Better than with other hands-free devices. However there are three things which I find really get in the way of regular usage.
  1. Voice to text speech recognition… Not so hot.
    I use this far more frequently than I do for making or answering phone calls.. Updating my status on Facebook, sending text messages or quickly replying to an e-mail. I use voice to text quite a bit. I have found that going through the blue and commute significantly diminishes the recognition accuracy. Which is really quite unfortunate.
  2. Another device to carry around…
    For me, the whole point of going to the iPhone and keeping with my was the reduction of things that they needed to have attached to my waist. Providing the maximum amount of functionality for the least amount of stuff. The blue ant commute, would require me to carry around another device. And at this point, verbally being able to answer calls does not add sufficient utility to justify.
  3. Cannot verbally hang up
    we've all been there
    It's great to be able to answer hands-free, but if you can't have some other means to end the call. You're still required to manually terminated either by manipulating your iPhone or the blue ant itself. This might not sound like that big of a deal, but when you want to get off the phone with the telemarketer or someone who just… Won't… Shut… Up…
The blue ant commute usually retails for around $100 Canadian. I however found it on sale for about $70.

Don't get me wrong, the device does have its usefulness and is I've said, the audio quality for regular phone calls is really quite good. It is small (almost the same dimensions as the iPhone 5), easily portable and is something that can easily be attached to the side wheelchair, your belt and so forth as it's intended to be mounted on the sun visor of your car. I should however point out, I've not used it in the car yet.

So, if you do not want to jailbreak your iPhone (and with IOS 7, you presently can't anyway) this could be a pretty good way to get some hands-free control back. Sure, the Bluetooth range on the blue ant isquite good and I can probably use it throughout my house, but because of the limitations mentioned above, I still prefer to carry around my iPhone. It is presently Velcro to my waist. 

The utility of the blue ant is good, but just not sufficient to completely address my needs for day-to-day use at this point in time. So in conclusion:

Wednesday, 16 October 2013

Old IPhone, New Life As Dedicated Dragon Mic

Back in July, I did a post about various microphones for use with Dragon naturally speaking. Some working better than others. The one microphone, that has always impressed me for its ability to comprehend what I'm saying but has been terribly convenient was the dragon microphone app for iPhone. The reason I found it not terribly convenient was because my screen lock would time out and locked my iPhone. Shutting down the microphone, often in midsentence.

Yes, I could easily go into the settings and change the timeout time. But the pain in the butt is that I
would have to do this every single time. Not to mention, I would have to remember to set it when I'm done. Not terribly convenient.

Then, for some reason the other day it dawned on me that I had by old iPhone 3GS sitting around doing nothing. So I decided to install the Dragon microphone app, and plug it into my PC to give constant power (not that it really needs this as the battery is still good) then I changed the lock screen timeout to "never".

This is working out really quite well. As a matter of fact, I'm using it at the moment and the recognition is near 100% simply sitting on my desk nowhere near my mouth and I'm speaking at a regular volume.

The only downside I have encountered so far is that I can no longer use the on-screen microphone button nor the keyboard on my PC to toggle the microphone on or off. I have to touch the iPhone. It does however respond very well to the "go sleep" and "wake up" commands. Unfortunately however, the Dragon Does not allow you to use your iPhone as a regular mic to your PC. Only interfaces with Dragon NaturallySpeaking. Which is fine for me!

All in all, this is a great way to recover some use of the old technology. It was destined to be a toy for my three-year-old (cracked screening and all) or be recycled as it now has no resale value. This way I can use it just about every day when I'm in front of the computer, greatly extending its life and utility for me.

Don't have an old iPhone? All that you can find one which is off plan for cheap on craigslist, kijiji or the like ;-)

Monday, 29 July 2013

Microphones & Voice Recognition

It's been mentioned about for some time I rely quite heavily on voice recognition functionality to access my computer via Dragon naturally speaking (sometimes the Windows of voice recognition). However I have not discussed the pros and cons of the microphone/headset that I've tried. Some are obviously better than others and this of course changes as my condition deteriorates.

Something I should point out however is the exact nature of my limitations. I've lost almost all the dexterity in my hands and have very little use of my arms. I can scratch my nose, but I can no longer lift my hands/shoulders to place anything on my head.

There are some pros and cons to some of the headsets I've tried:

Wired headsets

Initially, I used wired headsets almost exclusively. However a few months ago there were two major factors that really started to be a problem for me. The first, as my dexterity degenerated it started become more and more difficult to get the headset on in a convenient and comfortable manner. The second, again to do with dexterity is at once that the headset is on, I have to contend with the wire which is often getting wrapped around my leg, falling down (then usually getting squashed under the wheel of my computer chair), getting hung up on the armrest, or otherwise being a pain in the butt.…

Since then, I've moved over to using almost exclusively a wireless headset. Nonetheless, there were some quality headsets and some work much better than others which Dragon NaturallySpeaking.

Rocketfish PS3 Headset 

This is one of the first headsets on tried. And the cost of about $20 Canadian it worked exceptionally well. It has an extremely long USB wire which is intended for the PlayStation 3. E.g. from the couch some distance away. Not really a PC, but functionally it's plug and play. What I find worked exceptionally well but this was the boom for the microphone. It was long enough that it could be placed almost directly in front of your mouth and the foamy part on it was good enough to muscle out the sounds of your breathing. Therefore Dragon's comprehension of your speech was generally very good.

The noise cancellation is so good in fact, that I could actually have music playing softly to my PC speakers (or a game) and the voice recognition would still work very well. This headset was particularly designed for voice communications in gameplay environment, so if you're a gamer. You can pipe the communication audio through your headset and still listen to the game/music through your main speakers.

If my hands didn't make it impossible for me to put this on, this would still be my preferred headset. It's light, secure on your head and reasonably comfortable for longer period of time. However without dexterity, is extremely difficult place and adjust.

Corsair HS1 Gaming Headset

These are an exceptionally good quality gaming headset. It is also USB connection with a rather long wire. There initially given to me because I was having substantial difficulty recording my voice into modeltalker. For some reason, no matter what I tried there seem to be some form of electric hum recorded with my voice. This didn't seem to matter which headset I was using.

That said, these are a little heavy but very comfortable once they're on. Because they have very large over your head ear piece I was able to place them on my desk in such a way I could sort of wedge my head in between the earpieces. Push them into position and him lift my head off of the desk with my headphones roughly in place.

Unfortunately, the microphone is a little far away from my mouth for to work well with Dragon NaturallySpeaking. I find I have to raise my voice quite a bit in order for it comprehend and even then. It doesn't work all that well for voice recognition. The other reason I think why, is even though there is a noise canceling function on the microphone it does not have a piece of foam over the microphone. Consequently the records more of your breathing and other undesired noises.

If you are using it just for gaming however, the audio quality through the headset is exceptionally good and your teammates should hear you talking to problem. The driver software also comes with a bunch of other tweaks that you can play with to modulate your voice and have all sorts of fun effects. My three-year-old particularly enjoys it rerecord his voice and make him sound like a cartoon character or a Dragon. ;-)

Again, I had to discontinue usage of these because of my dexterity limitations and fighting with the wire. There are however the heaviest of all the headphones I used and because of this, the but the progressive atrophy I doubt that I would be able to use them now for any length of time

This microphone retails for about C$100.

Wireless headsets

To be fair, I did not initially purchased these for use with my PC. I found that when I was out for my IVIG treatments which would last several hours, I would like to music listen to. Dealing with wired headsets with tiny little earbuds was nearly impossible. So I went looking for a set of Bluetooth headphones and found these. I found a retail for around $80-$100 in store. However with a little bit of online shopping, I found a pair on sale from Amazon for about $50 Canadian. And I have to say, I'm very pleased with the purchase and use them very regularly.

Although doesn't look it, once they are on they are extremely comfortable. The way almost nothing and is very easy to forget where. The battery life is extremely good and last seven or more hours of continual usage. As a matter of fact I would routinely leave the house for my IVIG appointment at 7 o'clock in the morning, start the music. Hardly ever stop it and be back home somewhere between one and 2 PM with plenty of battery life to spare.

The audio quality is very good, they do have mild noise cancellation which helps promote the clarity of which are listening to. That however are not designed to block out the sound of the outside world. You can still hear what's going on quite well, but the music or whatever you listen to is extremely clear. This also applies to receiving phone calls.

The built-in microphone is okay. I've been told I sound a little bit like I'm talking into a beer can when using. But other than that the audio quality is acceptable for the listener. I have tried the microphone with Dragon NaturallySpeaking on my PC. Well good enough for conversation, Dragon has substantial difficulty in understanding what I'm saying. Microphone is too far from my mouth and there seems to be too much noise detected.

So if you're in the market should be able to wear a pair of headphones almost all day, making phone calls with it and listen to music. These are very good purchase. Just don't expect to use Dragon NaturallySpeaking…

Oh, sure. My disability makes it impossible for me to put on by myself. However once they are on, I can forget that they are there and use them almost normally as anyone else would. And although it has happened, I rarely have to ask for help to put them back.

One neat little feature I have set up at home, is my raspberry pi Siri proxy home automation system. What's great, is that wearing these headphones as I approach my house once my iPhone (jail broken) detects my wireless network, it turns on hands-free mode (opens the microphone on the headset) and listen for a keyword to activate. All I have to do is say the keyword, verbally command my door to open and it unlocked. Wearing the headphones improves the voice recognition of my Siri proxy as I don't have to go fishing for my iPhone.

All in all, for me this is worth the price of admission.

Logitech BH870 - Bluetooth

This headset is now hard most commonly use voice recognition with my PC. I found it on TigerDirect at a reduced price for about C$30. At the time down from about C$110. Quite the deal, so I thought it was worth a try.

They have since reduced the price to about C$35.

All in all, from a comprehension standpoint it works quite well. Almost as well as the PlayStation three I heard headset. I do however find using this headset, Dragon comprehension seems to be a little bit slower than it otherwise would be. But I find if I slow down my rate of speech, it manages reasonably well.

The headset does have a noise canceling function, but it does seem to be consistently transmitting some form of noise to my PC. The Dragon icon frequently shows that it's processing. Even when I'm not detecting any noise myself in the environment. I most certainly cannot use this headset while gaming or playing music.

Even with my dexterity limitations, I'm still able to get this ear piece on by myself. It is a little bit tricky, but I am able to do so. One of my pet peeves about your pieces of this nature is they tend to wiggle the mirror hanging from your ear. This drives me nuts. This particular headset is reasonably secure, but still have that annoying wiggle when I move. Because of this, it also tends to pick up a scratching noise from my beard. That said, because of my dexterity issues still I'm not very comfortable wearing this headset out of the house. I prefer the backbeat headphones. They feel much more secure to me.

One nice feature I like about them, is that I compare the headset to both the USB dongle it comes with for my PC and my iPhone at the same time. So for making phone calls, this is great…I recently found an unlimited usage phone plan for my iPhone. This is great, as my phone is much easier for me to manipulate a regular phone.

And because this your pieces intended to be used with the PC, it will naturally integrate itself with a soft phone such as Skype. I've used it for Skype a couple times now. The call quality has been very good.

It comes with a bunch of headset options Such as different earpieces and in over the headband. This is great if you could be using a prolonged periods of time or if you have a larger/smaller earlobe. He viewed a few options. The one silly thing I find about it is discharging unit. It is very tight to slide the earpiece in and out of the charger. I can still do it, but it's getting increasingly difficult.

The battery will last several hours.

So far this is among the best options I have found using voice recognition wirelessly on my PC.
This is a free app available from the iTunes App Store and I know that android offers a similar app.

This app is a very pleasant surprise. It works extremely well and comprehending your speech indicating the commands to your computer. I've tried it even just sitting it on my desktop and talking added. Not even having it that close to my mouth. Again the comprehension was exceptional. I would say, by far the best of anything I've tried. That said however, it is unlikely it would work nearly as well if there is music playing or if your gaming. I've not tried either of these situations as I don't expect it to work.

Dragon microphone connects to your PC through your Wi-Fi interface. Not Bluetooth. You don't need any additional dongle or Bluetooth functionality on your PC. Just your Wi-Fi enabled router. Set up was extremely simple. Simply create a profile… Start the app… And that's about it.Upgrading from my 3GS to my iPhone 5 was even easier. Simply had to install the app on my iPhone. No profile update or anything.

The only annoying feature I have found is that if you have the power save mode on your iPhone to turn the screen off. Then it also turns off the voice recording of the app. Making you have to press the home button and unlock the screen once again. This can be rather annoying… Especially with dexterity limitations.

That said, it's something that you can turn off when the iPhone's general settings. But once again, annoying.

Especially for the price, this is really good way to go and it could well fit better with some of your dexterity limitations that does mine. So if you are running Dragon dictation and are looking for a wireless microphone, iPhone or android this is definitely worth trying before investing any money.

Conclusions?

My preferences really depend on what I'm doing. Anything to do with my PC I use the Logitech hands-free headset. It works very well and is reasonably priced. But as I mentioned, I'm not very comfortable wearing it out of house.

For general usage with my iPhone, especially when I'm out the back beat 903+ headphones are by far my preferred choice. Excellent sound quality, extremely comfortable and works quite well with Siri, but not so hot with Dragon NaturallySpeaking…



Tuesday, 25 June 2013

Raspberry pie versus Desktop

I know, I'm a bit overdue for a post. One of the reasons being is that I decided to try running a raspberry pie for my Siri proxy and have been occupied playing with that. Initially, I was just going to use the desktop that was arranged for me my friend. A Siri proxy is a great use for an old machine, and the one that was given to me was a beast in its day, grossly overpowered for my needs.

As you saw in the previous post about setting up a home automation system, the setup was reasonably easy. It did however require that at first the Ubuntu machine has a keyboard mouse and monitor hooked up to it. Once this is all done, I could fairly easily use VNC to connect to it. From there I can use all my assistive technology to do the installation I need. But the initial setup was a bit cumbersome for this reason only. Without hands that works very well, the required manipulation of the keyboard and mouse was challenging. The other thing is that the old desktop, being is overpowered as it was generated a fair bit of heat and consequently had a number of fans and to keep cool. The machine was a bit noisy.

So, for a friends birthday we thought a raspberry pie would be a perfect gift for him and on a bit of an impulse (also some encouragement from my girlfriend) I decided to order one for myself as well knowing it could be used as a Siri proxy. After all, this is how siri proxy first came to my attention with Elvis impersonators raspberry pie garage door opener.

I did need to help to set up initial wiring and plugging the SD card. But once that was done, set up was actually far easier than with the desktop, and not just because I'd gone through the process previously. Out-of-the-box, once the pie is plugged in it boots up by itself (no power button) it is set up to network into it immediately. No need for a keyboard, mouse or even monitor. Simply use putty.exe to get started. The raspberry pie is dead quiet. There are no fans, nothing to make noise. As a matter of fact it requires only 5 V to run this the 700 MHz, credit card sized computer. Pretty impressive, especially for just US$40.

Want to give it a try? Here's what you'll need…

I am presently running my pie headless (without monitor or keyboard) and am going to assume you're wanting to use the same here.We ordered everything from www.adafruit.com Here's the minimum parts that you will need to get started:
  • A raspberry pi model B. US$40
  • 5 V power adapter a micro USB cable. US$10
  • SD card for Raspberry Pi preinstalled with Raspbian Wheezy US$15
  • network cable.
And that's it! You can get a raspberry pi, Siri proxy server up and running for about US$65. I would however recommend also purchasing a case for it, it's always a good idea to protect and exposed circuit board. You can buy one for as little as US$10

I based this list on the starter pack listed on their website. I figured it was a good safe place to get a list of everything I would need. The starter pack includes a whole bunch of stuff for wiring and doing custom electronics, nothing I would need. Just for fun I also added a very small 4.3 inch TV monitor for an additional US$50, which I have yet to hook up. But my friend got one as well and he loves little thing.

Setting up your pi…

I chose to purchase the preinstalled SD card for pure simplicity reasons, it was only a little bit more expensive and I figured doing so would save many headaches of trying to manipulate the card between my desktop and the pie. My dexterity can't handle it anymore. This way I was sure of the install that would work right from the get go.
  1. Plug everything in (Duh). Make sure the SD card is properly seated, you have power and network. When the pi is booted (should take only a few seconds) you should be rewarded with several LED lights. Red yellow and green. If you are greeted with a solid read only, your SD card is probably not well placed. This happened to us. Unplugged the pie, reseat the card and try again.
  2. Find your pie on your network. In order to be able to connect to it remotely, you need the pi's IP address. You can find this fairly easily through most newer routers or you can using IP scanner.
    These are excellent instructions for your first time login using SSH
    Raspberry Pi SSH Login without Monitor
  3. Through SSH login, enter this command:
    sudo raspi-config 
    then follow this first time set up guide
    As mentioned, out of the box you should be able to network into your pi using SSH. However there are a couple things you will want to make sure you do:
    1. use your whole SD card
    2. check for updates
    3. check the boot behavior is set to desktop
    4. optionally change the default password for user pi (I believe the default password was…: pi) keep in mind, Linux-based systems such as the raspberry pie are case sensitive particularly important for remembering your passwords ;-)
  4. Now to install and set up VNC
    1. these are the instructions I used, but a very good step-by-step guide here: http://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/overview
    2. Personally I followed these instructions:
      http://myraspberrypiexperience.blogspot.ca/p/setting-up-vnc.html 
      once VNC is installed, you will no doubt wanted to start on boot. These instructions will walk you through the process
      http://myraspberrypiexperience.blogspot.ca/2012/08/start-vnc-automatically.html
    be sure to specify which desktop
    you want to connect to
  5. reboot your pi (type reboot ) and reconnect using VNC
    start VNC viewer on your desktop, enter the IP address of your raspberry pie followed by :1
    the reason you want to do this is that you are specifying which desktop to connect to. You can run multiple desktops.
And there you have it. Your pie should now be up and running with a VNC connection.

One thing I should point out about VNC is while it's a great and convenient way to access your pi it does have a few limitations. You can use the accessibility tools from your Windows environment, for example I can use DragonDictate to send text and controls directly to the pi. However I cannot copy paste from my desktop through VNC onto pi, which can be a bit inconvenient (possibly because I'm using the free version).

Another reason why VNC is Uber cool
I can connect to my pi from my iPad or iPhone!
Installing Siri proxy on your pi

The best, and probably easiest way would be to follow Elvis impersonator's instructions. I installed mine through SSH, one command at a time. This step is a little bit more complicated as you will have to take out the commands from the text file one by one. Nonetheless, it's pretty straightforward and you will find the complete list of instructions here:
Optionally you can set up your raspberry pi to start Siri proxy on boot. Once again, just follow Elvis impersonator's instructions:
Personally I've not set my Siri proxy of to start on boot. I kind of like having the terminal window showing me the output so I can occasionally check up with what's going on. If you if you choose to start your Siri proxies this way,  you will have to do it at the desktop level. Connected using VNC and run root terminal. In my case, for some reason it does not remember the path to the install, I simply have to rerun the following three commands in the root terminal to start the server.
  • [[ -s "/etc/profile.d/rvm.sh" ]] && . "/etc/profile.d/rvm.sh"
  • echo '[[ -s "/etc/profile.d/rvm.sh" ]] && . "/etc/profile.d/rvm.sh" # Load RVM function' >> ~/.bash_profile
  • siriproxy server

Modifying the example plug-in

about to go through the details of how to go about modifying or creating your own plug-ins. I believe that is a project for you to figure ;-). However, I did create a little auto hotkey script which will make the process somewhat easier.

My goal was to allow myself to use my Windows environment to use the actual modifications to the example plug-in script. Doing so would give me full access to my voice control,and other accessibility features. Not to mention a nice editor. You can download my autohotkey script here:
This script is just a convenient way to send a final from my Windows desktop to a raspberry. In order for to work you will need to have pscp.exe installed which of to download from the same place you  downloaded PUTTY 


  1. In the first box, this is where you want to send a file. Specify as root user. type in the full path.
  2. The second box is the file that you want to copy to the raspberry pie. Press the select button, go find your file.
  3. in the final box use the select button to specify where you downloaded pscp.exe
  4. modify your source file, save it then press send it. This will copy the file onto your pie.
I created this only has one way send to pi because I don't expect have to copy files back from my pie , very often, if at all.

Conclusion

This should be enough of the pieces to get to well on your way. Goal here wasn't easy tutorial but more to show you where to find hold the parts. I'm finding it surprisingly easy to work with the pie in this manner. So if your voice is still strong in your house I need/use for Siri proxy, a raspberry pie is a relatively inexpensive, not overly complicated and very effective way to get it set up.

Tuesday, 14 May 2013

A Little Hack for Dragon Naturally Speaking


I used Dragon NaturallySpeaking a fair bit… Well, a lot… Okay, to be honest just about every time I'm in front of the freaking computer! For the most part, it works quite well and does when they needed to do. However it does have one nagging irritation for me. By default, you cannot set a default user profile to load when you restart your computer.

As we all know, computers (especially Windows) need the occasional reboot. Not having my Dragon dictation online when the computer boots, well is kind of annoying. Especially because having hands that don't work so well and right clicking often being challenging these days I have to go but futzing with the mouse, right-click the task manager icon and select the user profile I want load.

I found a neat little way to force Dragon to load a specific user profile on reboot. Here's how you do it:

open the Dragon in the start menu under startup
start menu --> Start up --> Dragon NaturallySpeaking Quickstart
right-click and edit the properties
add the following the target (you must delete any existing flags and replace it with this)
/User "<YOUR USERNAME>"

Doing so should tell Dragon to load this profile whenever Windows restarts. Be sure to pay special attention to the placement of the quotation marks.

Monday, 18 March 2013

IPhone Jailbreak Fun

follow my attempts on twitter
#setmyiPhonefree
If you've been following my Twitter feed, you are no doubt aware that I've been playing with jail breaking my iPhone to see if I can find some additional functionality to make my life a little bit easier. I have found a few very good apps… And a lot of other things to sift through.

Here I will give a quick tour of some of the apps I've tried out. Specifically, I'm looking to find ways to improve my access to the phone and any improvements that can be made to Siri was an eye to trying to make it work with my home automation system. But first, for those of you who may not know… What does it mean to jailbreak your iPhone/iPad?

iOS jailbreaking is the process of removing the limitations on Apple devices running the iOS operating system through the use of software and hardware exploits – such devices include the iPhone, iPod touch, iPad, and second generation Apple TV. Jailbreaking allowing the download of additional applications, extensions, and themes that are unavailable through the official Apple App Store. (Source: Wikipedia)

If you would like to give it a try, the process of jail breaking is actually quite simple. Here's the information you'll need:
Great! Now that that's out of the way, let's talk about some of the cool stuff we found.

Now if this is the beginning, there's an awful lot of stuff to sift through on the Cydia store. Most of it I don't find particularly useful, and a lot of it is out of date (particularly for the new iPhone 5). There is tons of fun stuff like applying seems to your iPhone. Not useful, but entertaining. For example, using the Winterboard app I now have an animated space invaders lock screen. Here's a list of apps I've tried and how useful I found them in coping with the disabilities provided by ALS.


Octopus Keyboard

This is a keyboard replacement for the standard iPhone keyboard. Essentially it's a straight up ripoff of the keyboard you'll find on blackberries Z-10. Essentially it is an auto complete function built into it, popping up the words over particular keys. To complete the word, simply swipe upwards towards you typing area.

I like this keyboard very much. A substantial improvement over Apple's auto complete function and perhaps the primary reason why I chose to jailbreak my iPhone. That said, with my dexterity limitations the swiping action can be a little bit tricky for me at times. Also I found it seems to work better on the iPhone if I turn off apples AutoCorrect.

Also, I'm not sure that I can attribute this to the octopus keyboard. But I have noticed when I'm creating a little bit of a larger e-mail on my iPhone (usually through a combination of typing and Siri dictation) there is does seem to be a slowdown in responsiveness. I have no problems running it with IOS6. There are also a whole bunch of dictionaries that you can add to the keyboard for free.

Hands Free Control

Does exactly what the title implies. Give you hands-free control to activate Siri. When enabled, you simply have to say the keyword (default is Siri) and if hands-free control is enabled Siri wakes up and waits for your commands.

You can change the activation keyword features a comes preinstalled with five options and a number of customized sounds which are played when it activates or receives a command. You can also add your own custom keyword.

So far I found this works very well and quieter environments. If there is a bunch of background noise, Siri is of course going to have issues recognizing your command (this is also a problem if you're using hands free to play music from your iPhone). It operates in low power mode to minimize strain on your battery. Nonetheless it is no additional cost and you can expect to see a shortened battery life. He does however have an option to only enable when it's on AC power. This is how I use mine, when pluged-in beside the bed at night hands-free is activated.

This is quite useful, but not as much as I'd hoped. I'm looking to be able to tie it into my home automation system. Unfortunately Siri cannot open bookmarks or web links so I cannot fire the command to my vera home automation system at this point in time. I am however looking at running a Siri proxy in my home. If I can figure out how to get this rolling, that will make hands-free jailbreak several levels of pure awesome. I would literally be able to say "Siri, turn on the basement light"…

Assistant Extensions


Unfortunately this is not yet compatible with IOS6. I have installed it and it doesn't run and a few things work. For example it will search YouTube just fine through Siri. However using assistant extensions to activate any of the system settings (such as toggle Bluetooth) it crashes the iPhone and reboots in safe mode.

It promises additional chat bots, translator, YouTube integration and a few other features. It is also the building block for a number of other Siri plug-ins. Unfortunately none of those will work either until this is patched. But like I said other than YouTube nothing seems to work at this point in time. Here's hoping that when is compatible with IOS6 they will have a whole bunch more features to it. It looks promising…


Assistant Love

This is another Siri extension which looked extremely promising and unfortunately didn't turn out to be quite as useful as I had hoped. Assistant love adds music integration to spotify and grooveshark allowing you to play from any of these sources as though you would a regular music. Unfortunately, living in Canada these services are not available :-(

However, it also allows you to override the default navigation service. You could replace the Apple maps searched and directions with a number of other services providing you have them installed on your iPhone. For example I've replaced by default navigation voice search with that of Google maps. This is actually pretty cool.

can't use an alias for
a bookmark
But the real promise behind assistant love, and why I bought it was that it also offered an "alias" functionality to start an app. In other words you could specify your own custom keyword to open a specific App. For example you could say "open my drive" as a command to open your Google drive or dropbox account. I thought this was great criminal exactly what I needed, unfortunately it will not accept home screen bookmarks nor a URL. Only an app. Had it done so, this would've been exactly what I need to interface with my vera home automation system.

Other than that it does provide a few additional commands to toggle some settings. For example you can use assistant love to toggle Bluetooth/flashlight/Wi-Fi and your audio mode. I have found that being able to toggle the flashlight using hands-free control kind useful in the middle of the night. No messing with the light the bedside table ;-)

All in all, there are some useful functionality within assistant love even without groove shark and spotify and worth the price.

So for me, the next step is to look at setting up a Siri proxy. This is far more complicated and if I can get it working it will answer my needs for tying it into my home automation system. I would very much have preferred to use the aliases in assistant love. But will give this a try instead. If I can get this working… Well, check out what can be done with it!

So all in all, there is some very good apps available if you jailbreak your iPhone to help make it more accessible to you. Communicate by phone Joe broken for the time being and continue to look for new apps/functionality. The is also a lot of fun apps to be had, for example check out barrel. A real fun way to turns pages on your home screen.

These also check out some other reviews and writeups on these links. If you're considering jailbreak in, this is a great place to start helping you decide if it's worthwhile or not.

Wednesday, 9 January 2013

Home Automation, the 3rd Attempt

Introducing the "Jarvis Mod"

Wow. The Christmas holiday season can really get in the way of any plans you have for personal projects. I actually had the autohotkey script done at in early December, but all the obligations for this season and having the family around really slowed me down. Not that I am about that quickly anyway ;-)

Now I'm back to it. Introducing, the Jarvis mod for your Vera home automation system. But first a little back story.

We've talked before about how I'm starting to rely more and more on voice control for my computer. But that doesn't really help me out for the rest of my environment, so I started wondering if there was a way I could use voice to have some control over my environment. Ideally with minimal cost and using tools that are ready have.

The particular problem I was hoping to address was to be able to run my home automation system through my iPhone using Siri. I mean really, who would not want to be able to walk into their house speak a few instructions and have your environment respond to you in a similar way to what you see on Star Trek the next generation, or Jarvis (hence the name) from the movie Ironman.
Well, it turns out that there is!

Obviously, it's not going to be anywhere near as powerful as what you see in Star Trek or Ironman. However I can use Siri's existing functionality to send a message to my Vera Zwave home automation system. This is by definition a hack as it does use some digital duct tape and bailing wire to get this to work. But for my needs, it works very well. Check it out…
So how did I get this to work? As you can see from the video, I use the Siri to send a message to my computer via (a secret) e-mail. Microsoft outlook receives the mail, recognizes it and fires a rule to create a text file in a specific directory containing the contents of the e-mail. There is an auto hotkey script running on my PC which waits for this text file, parses its contents and then sends the appropriate notifications to my Z wave system.

It's probably easiest to visualize in the following chart.
The Jarvis script is at its core very simple. It is a simple text parser which reads the text for key phrases such as: "turn on the family room light". It doesn't use any fancy heuristic to figure out the meaning of the sentence. It simply looks for keywords in a sentence. In this case those words would would be "light", "on" and "family room". It doesn't care about the order, just their presence. I can however send multiple instructions via one e-mail using Siri. Each sentence is interpreted as one instruction. So I can have several sentences to fire several different devices. The script looks for the "." As a separator between instructions.

It is very easy to add more commands. Commands presently are:

  • turn on/off the basement/living room light
  • lock/unlock the door
  • run scene <scene name>

Now obviously this is going to reason some security questions. As I for sure do not want some stranger firing an e-mail to my house and operating my devices. So I do have some security protocols built in. Outlook requires the message to be from a certain e-mail which will remain secret ;-) it is also easy enough to integrate a password requirement into the autohotkey  Script. This will be a simple day password (not yet implemented) where if it is absent from the script, Jarvis will not operate. It is also very easy to detect multiple, repeated attempts.

Also, I only activate my Jarvis script when I expect to need it.

Some might also ask why I chose to use autohotkey  n this way as opposed to simply firing the instructions via Outlook. While this is possible to do via the integrated VBScript in Outlook I would have to duplicate the same code into the Microsoft speech macros to get the same functionality. I.e. doubling my maintenance requirements. Any change to one would have to be made to both. In This Way, Outlook and the speech macros simply messengers. Any changes, modifications or updates are simply done in the Jarvis script only. Also by using autohotkey  it is very easy to add additional functionality to interface with any other system running on my computer. For example it would be easy enough to add commands to start iTunes and play music over my airplay system.

Unfortunately however, this Jarvis mod has been written to operate with my z wave system and PC set up. This means that unfortunately it will not be immediately portable into your environment. My intention here was to share the methods and show that it can be done. That said I will be including the text file with some additional instructions on how to do so. You will however require a basic autohotkey knowledge to know where to make the appropriate changes to your script.

Okay, I'll admit it… I just
wanted to use this picture ;-)
You can grab the Jarvis files here: the Z wave Jarvis Mod however the Windows speech macros are not yet included. Functionally, they will be nearly identical to the VBScript for Outlook.

(Update: as of 14/1/2013 speech macros are included and functional)

I will be working on a tutorial on how to properly set this up in improving the provided instructions.

So I think it's safe to say that the myth you can't extend Siri functionality or improve on your voice control functionality is pretty much busted ;-)That being said, I really should point out will once again that this script is more of a first functional prototype or a proof of concept rather than a final product. And by definition, is not really modifying the function of Siri or any of the other systems, but extending the functionality by tying them together through another script… By definition to me, this is a hack ;-) I will be periodically updating or reworking the script.