[nvda-addons] Re: addon request: play silence

  • From: Zahari Yurukov <zahari.yurukov@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Thu, 18 Jun 2015 11:40:24 +0300

Not exactly, this same problem was discussed one or two times befor, but
reguarding bluetooth headphones.
So the idea for an add-on which plays silense is actually good, unless
there is a better way to keep the audio alive.

Best wishes,
Zahari

На 18.06.2015 в 00:24, Ondrej Rosik написа:

Well, on my HP probook everithing works fine, just this usb PNP audio
device is using this power management which I can not disable. When I
open vlc media player or something else which produce audio, the problem
goes away. But it seems that internationally, this problem is not so
much current as I thought.


Dňa 9. 6. 2015 o 10:23 Brian's Mail list account BY napísal(a):
I have a dell here and its sound seems to stay active all the time
just like a desktop sound card. Perhaps its the actual amplifiers that
are shut down, giving that soft turn on effect. If that is the case
it could just be sound activated in the hardware, much like those tape
recorders that switch on when a sound is made. If they are doing this,
no amount of software can fix the problem. It would need a sound to
play which is loud enough to trigger the circuit to switch on. I found
a sub woofer that does this kind of thing.
Brian

bglists@xxxxxxxxxxxxxxxx
Sent via blueyonder.
Please address personal email to:-
briang1@xxxxxxxxxxxxxxxx, putting 'Brian Gaff'
in the display name field.
----- Original Message ----- From: "Ondrej Rosik"
<ondrej.rosik@xxxxxxxxx>
To: <nvda-addons@xxxxxxxxxxxxx>
Sent: Monday, June 08, 2015 8:08 AM
Subject: [nvda-addons] Re: addon request: play silence


Well, I tryed disabling effects and I also checked the power settings
but I can not find specific setting which should affect this. It also
happens when the laptop is on electric power too.




Dňa 6. 6. 2015 o 12:33 Brian's Mail list account BY napísal(a):
Are we sure that one cannot actually disable the power management
for the device? Most of the time when looking at the power scheme,
one can decide which various items are affected and when and turn it
on and off.

Not come across this on laptops where nothing can be done though, i
have to say.
Brian

bglists@xxxxxxxxxxxxxxxx
Sent via blueyonder.
Please address personal email to:-
briang1@xxxxxxxxxxxxxxxx, putting 'Brian Gaff'
in the display name field.
----- Original Message ----- From: "Ondrej Rosik"
<ondrej.rosik@xxxxxxxxx>
To: <nvda-addons@xxxxxxxxxxxxx>
Sent: Friday, June 05, 2015 12:35 PM
Subject: [nvda-addons] addon request: play silence


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

----------------------------------------------------------------
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


----------------------------------------------------------------
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

----------------------------------------------------------------
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


----------------------------------------------------------------
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

----------------------------------------------------------------
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

Other related posts: