![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2017
Device: Kobo H2O
|
![]()
I am new to mobile reads. My principal reason for joining is to seek help. I am paralysed from my neck down and currently use my Kobo e-reader using a mouth stick. However I'd really like to be able to use my e-reader by voice, ie to be able to turn pages by saying "next page" or "previous page" to go back. I did see one possibility with a Kindle using HID commands in conjunction with a Raspberry pi. However I would prefer to stay with Kobo. So dear readers, any bright ideas out there?
In case anybody is thinking of a tablet, such as an iPad, while I know a software solution to this probably exists, it doesn't have the same readability as an E Ink reader, particularly outside so I'm discounting the tablet route. I am also not particularly interested in text to speech options such as audible. I want to read the written word. Obviously, my E reader came as a transformative development in my ease of reading. For many years I struggled with great difficulty to turn pages using my mouthstick on regular books. While in hospital originally, I read Kane and Abel, The Day of the Jackal and many other books by asking somebody passing my bed to turn the page. As you can imagine, this required the book to be pretty good to persevere! Thankfully these days, my e-reader gives me the scope to read that I had longed for. I am based in Dublin, Ireland. Many thanks in advance for at least reading my call for help. Eugene |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Hi Ecallan,
Welcome to the forum! Would it be ok if your Kobo device had to be connected to the usb port of a pc/laptop? The basic idea is to use a speech recognition program and telnet to send commands to the Kobo device. Since I am a windows user, I started experimenting a little with visual basic script and the windows inbuild speech recognition program sapisvr.exe. Page turning per telnet does work, so I did not include this part in my current experiment. What I have now is a visual basic script that
Now my question. Do you think this is something worth continuing? Last edited by tshering; 07-29-2017 at 06:37 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Just want to report that I can now page forward and backward by voice commands. I will give the details when I have got a chance.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2017
Device: Kobo H2O
|
Hi Tshering
Thank you very much for investigating the telnet approach via Windows and the program sapisvr.exe. It is a very novel approach and certainly demonstrates that page turning commands can be sent via the usb port which is a important step forward. Using a windows pc not ideal although perhaps using a usb stick computer such as the Intel Compute Stick might be ideal if combined with external battery sounds like a definite possibility. I'd be grateful if you would give me the code tto test it out on my current PC please. Thanks again and I really do appreciate your work on this. Eugene |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2017
Device: Kobo H2O
|
......
Last edited by Ecallan; 08-04-2017 at 07:00 AM. Reason: I wrote a reply twice because I couldn't see my original posting. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
One can (or has to) "record" the necessary touch events, so that one can later "play" them. I did this for the Kobo Touch, but cannot do it for the H2O, since I do not have access to one. When I post the code here, I will also ask whether somebody can record the touch events. I hope some people might be interested in this too. This recorded touch events will still be useful even if we decide to change other parts of our approach. On the pc
On the Kobo side, you would have to
A short description of the script:
Things that do not work so well:
So maybe as a first step you could just try the script in test mode to get a feeling of how it works, and see whether you think it is usable at all. To do this no changes are necessary on the Kobo device, it is not involved at all. At a later stage, I might try to replace the use of the vb script interpreter and the windows inbuilt telnet program by a stand alone application. That should make some things easier (points 1 and 2 from above) and be easier portable to other platforms. I am however not sure about the integration of the speech recognition. What is currently working:
Last edited by tshering; 08-04-2017 at 10:58 AM. |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I would like to ask whether some people could help with this project and create data files of touch events for different devices, especially the H2O.
You would need telnet access to your device. This is how it works: Spoiler:
We would need the following simple touch events (I give the list of the filenames. Together with the attached images you will certainly figure out what is meant: Spoiler:
I attach the files for the Kobo Touch. |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Here is the script.
For testing on the pc only: Double click on "no_telnet.bat" to run the script in test mode. Double click on "no_telnet_dont_speak.bat" to run the script in test mode, and without acustic responses. For real usage (needs pc and Kobo device beeing correctly prepared) Double click on "kobo_voice_control.vbs" to run the script in normal mode. Double click on "dont_speak.bat" to run the script in normal mode, without acoustic information. Be aware that "speaking" (text to voice) slows the script down considerably. The text file vc_commands.txt contains among other things the currently available commands. Each line contains columns separated by tabs. The third column contains the commands and their variations (the are between "|"). Read also post #6. Last edited by tshering; 08-04-2017 at 06:48 PM. |
![]() |
![]() |
![]() |
#9 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Aaah, the full blown solution in the making
![]() If you want it to cover everything and be resilient against firmware upgrades that move stuff around, you'd have to let the user define arbitrary events and do their own touch recordings for them. But that's probably overthinking it. |
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Last edited by tshering; 08-05-2017 at 09:11 AM. |
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
@Ecallan
Maybe we should think about other possibilities to trigger the touch events. I guess you browse the web somehow with speech commands. If you do, can you directly address buttons by speaking out their caption? For instance, if there is a button with the caption "page next" on a web page, can you press it by saying "next page?" The idea is to run a web server on the Kobo that delivers a page with buttons. "Pressing" a button on the page (in your web browser on the pc) will trigger a touch event. You can see a similar project here. The point there was to make a mouse click in a web browser and by this trigger a touch at the corresponding position of the Kobo reader. For our current project, we would limit the possibilities to a number of pre-recorded events to make things easier, because we want to give our commands without having to look at the screen of the browser and without moving around the cursor. Before I try to find out about voice controlling a web page by myself, I wait for your answer, since you will already have the necessary informations. Last edited by tshering; 08-05-2017 at 03:03 PM. |
![]() |
![]() |
![]() |
#12 | |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2017
Device: Kobo H2O
|
Thank you for this fantastic amount of work. I don't really have anybody to assist me with this project at the moment, but I will follow directions step-by-step and get there in the end!
A question on installing the kobo start menu (KSM) when I followed the link in your post, there was a line in red at the top saying that the ksm 08 doesn't work on the kobo aura H2O. Could you provide a link directly to the file that I need to download and copy to the .kobo folder please? Eugene Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Concerning installing KSM 8 (supposing you have the "old" H2O), I am not sure whether it is necessary or a good idea to do this now, especially since you don't have anybody to assist you at the moment with this project. I realize only now, that if we can control the reader by key input or voice from a pc (or something similar), we do not need KSM at all. If you still want to install KSM, tell me, and I will prepare a new package to make the installation easier. (But frankly, I would not recommend doing this at the moment.) Did you see my post #11 of this thread? Can you tell me your thought on this? Especially on interacting with a web page by voice commands? Last edited by tshering; 08-05-2017 at 02:40 PM. |
|
![]() |
![]() |
![]() |
#14 | |
Member
![]() Posts: 18
Karma: 10
Join Date: Jul 2017
Device: Kobo H2O
|
Whar I can do by voice
Sorry to be only getting back to you now. I went to town today to go to a new exhibition that is on in our national Gallery!
Re your post #11, Yes I can say "click name" or if there is a button with a caption eg "Next Page" I can simply say "Next Page" to initiate that action. My Nuance NaturallySpeaking needs significant resources so may not be the best option to use on my planned Intel Compute usb stick. It might be better for me to use Microsoft Windows 10 inbuilt voice recognition. As far as I can tell, it will also action button with a caption under it. My Kobo model is the original Aura H2O not the model 2. I've successfully installed KoboRoot.tgz before I actually read your post saying that it isn't necessary. It is providing the menu with a range of options. I'll go ahead and installed the other files that you've created. Just another thought that might be useful. I have Teamviewer on my PC which would enable you to logon directly to my PC and through it link directly to my kobo reader if that would be useful. Eugene Quote:
Last edited by Ecallan; 08-05-2017 at 03:12 PM. Reason: To correct a typo |
|
![]() |
![]() |
![]() |
#15 | ||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Quote:
Quote:
Quote:
In the meantime you could install the telnet packaged I linked to above (here is the link again.). Is telnet enabled on your PC? One has to go into the settings and enable it (it is disabled by default). Last edited by tshering; 08-05-2017 at 03:41 PM. |
||||
![]() |
![]() |
![]() |
Tags |
disability, hands-free, voice, voice command |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Pages only turn backwards sometimes | narual | Kobo Reader | 7 | 07-09-2016 12:48 AM |
Auto turn pages | maac2212 | Kindle Developer's Corner | 3 | 05-19-2016 08:19 AM |
Kobo Touch will not turn pages | eddie19 | Kobo Reader | 1 | 03-26-2012 10:54 AM |
pages won't turn | MSMYTH | Nook Color & Nook Tablet | 1 | 05-14-2011 07:03 PM |
cannot turn pages back | Orfax | PocketBook | 2 | 07-19-2010 05:35 AM |