Hi list,
I have one idea for addon developers. Some users have reported that NVDA
is responsing too slovly on certain soundcards. In general, some audio
devices have power management system which disables the device when it
doesn't play any audio. So when you press a key and NVDA wants to say
something, you need to wait few miliseconds because the device needs to
initialize, and after that play the sound, in this case speech
synthesys. The solution is really simple, Play silence. to the device
all the time. When you run audio player such as winamp, NVDA is really
more responsive, because the audio device is still active. I newer had
this problem until this morning where something broke on my laptop and
my headphone output doesn't work anymore. I have simple cheap usb audio
soundcard. The output of NVDA is slover as in default audio device but
when I start audio player and dyrect the output of the player to this
device, responsiveness is really better and the same as in normal
default audio device on this machine. One way to fix it is run audio
player, minimize it to the tray, or use some kind of simple application
to play silence all the time. but maybe we should integrate this to NVDA
as an addon. My idea is as follows:
After NVDA starts up, the addon wil start playing silent wave file Or if
possible, stream silence audio to the audio device dyrectly. Be avare
that user may change the audio output by two ways:
1) imput USB device which is set as default. It means that NVDA is set
to default device but it is changed by system. This may cause problem,
because NVDA will send silence to the old device. Normally, NVDA
automatically switch to new device so maybe this will not cause issues.
2) Change the device normally via NVDA settings. In this case simply
send the silence stream to new device.
I am currently using one application called soundfix by one czech
company. The problem here is that when i disconnect the usb audio device
and connect it back again, I need to restart the application because it
is probably sending silence stream somewhere else. I will experiment
with autohotkey to see, if I can do something better. I have little
knowledge about python, so I can't do this addon by myself. But maybe
this should help also other users.
Ondrej
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs.
Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe:
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx