Wikipedia:Reference desk/Archives/Computing/2015 September 4

From Wikipedia, the free encyclopedia
Computing desk
< September 3 << Aug | September | Oct >> September 5 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


September 4[edit]

Text to Speech programs[edit]

I'm looking for a cheap (<$20), preferably free way to convert my revision notes into audio, so that I can listen to them in the car, and hopefully finally drum it all into my head (as well as more conventional revision)! Since I can plug my (Android)phone into my car stereo, this could either take the form of a text-to-speech app on the phone, or a Windows program which can make an audio file from the TTS output. I'd prefer to have at least 2 voices, and be able to select which voice is used for each document, as there are two similar sets of law I need to learn, and anything which helps to separate them in my head is useful. My notes are currently on Google Drive, but there doesn't seem to be any app which reads directly from a google doc. MChesterMC (talk) 10:48, 4 September 2015 (UTC)[reply]

Typically, as soon as I write out the question I find a suitable app! Voxdox (Android app) appears to do what I want - though other suggestions are still welcome, just in case (and to help others searching in future). MChesterMC (talk) 11:01, 4 September 2015 (UTC)[reply]
If you export the file as a PDF and load it into Adobe Reader, which is free, it will read text aloud. View menu > Read Out Loud. I don't think you can change the voice though. It will stumble over proper names but will make a fair stab at them. But then the same probably goes for other reading software. See also Comparison of speech synthesizers and List of screen readers.--Shantavira|feed me 14:40, 4 September 2015 (UTC)[reply]
It also requires a good microphone. I'm using the smartphone for this. A text edtior app is requred. The voice input is built-in, no noise from fan motors or drives and a microphone for this need in combination, all is finished. When having the need to edit the spoken text immediately, use an USB-OTG-cable to connect mouse and keyboard. --Hans Haase (有问题吗) 21:23, 4 September 2015 (UTC)[reply]
Why would you need a good microphone for a text to speech app? And why are you so worried about noise? The OP is trying to convert written notes in to speech/voice, not convert speech in to text. Nil Einne (talk) 05:20, 5 September 2015 (UTC)[reply]
Ooops, when need to go the other way, it would apply. --Hans Haase (有问题吗) 14:51, 7 September 2015 (UTC)[reply]

Inno Setup - uninstall shared files[edit]

In Inno Setup, is it possible to determine if a shared file is being removed? There's an exe file that's part of the project, which needs to be run with an /uninstall command-line parameter before it's deleted. I'd like to set the "sharedfile" flag on this file for the installation, but I'm not sure how to deal with the uninstallation.

At the moment, with Component.exe non-shared, my script contains:

[Run]
Filename: "{#AppDir}\Component.exe"; Parameters: "/install"

[UninstallRun]
Filename: "{#AppDir}\Component.exe"; Parameters: "/uninstall"

However, if Component.exe is set as a shared file, I don't want to run it with the /uninstall parameter unless it's being removed - that is, if the shared count is zero. If it's not being removed, doing this will stop the other applications that use it from working. Is it possible to do this? I suspect it may involve the use of CurUninstallStepChanged, but the documentation doesn't contain any details about this function. Tevildo (talk) 17:08, 4 September 2015 (UTC)[reply]