-
-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Play silence to prevent missing information at start of speech #14386
Comments
Look at the bluetooth audio add-on |
There used to be a stand alone exe that was called something like
Silencio.exe that did this to get over the latency in many bits of sound
hardware and their drivers by a well known driver maker. Maybe this is what
is required here? It depends on how the latency occurs on the headphones,
and how they detect there is a a sound.
Brian
…--
***@***.***
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
***@***.***, putting 'Brian Gaff'
in the display name field.
----- Original Message -----
From: "thadeu220" ***@***.***>
To: "nvaccess/nvda" ***@***.***>
Cc: "Subscribed" ***@***.***>
Sent: Sunday, November 20, 2022 12:32 AM
Subject: [nvaccess/nvda] suggestion: add a silence sound to avoid latency on
wireless headphones via bluetooth (Issue #14386)
hello guys.
i would like to see in future versions of NVDA a feature that does exists
i jaws already since jaws 2020.
well, basically i am using my new airpod with my compuer, and sometimes i
do loose the begining of a word due to latency. it is because since the
airpod has no audio signal, it does locks out the sound, so whenever i do
hear something, it cuts.
the only way to avoid this, and make the headphone / airpod working
without the beggining gap / latency, is to keep always playing a silence
sound. as it happens with jaws.
I know that this is gonna cost my batteries, but, no problems cause it
really drains my energy to keep the screen reader talking or playing
something, so i dont loose a word.
as a feature request, a new function called: keep playing silence soundd
even when no speech.
any ideias?
thanks
--
Reply to this email directly or view it on GitHub:
#14386
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
cc: @jcsteh I think you had submited a pull request on this some time ago right? |
My pull request was to keep the audio device open for longer. That got rewritten somewhat by NV Access, but the core idea got merged already. However, it seems that for some devices, even keeping the device open isn't enough and you actually have to play silence. I never submitted a pull request for that, but the Bluetooth Audio add-on does this. |
While there are some concerns about battery life of the devices, I think this can be mostly mitigated with some logic around when the silence is played, some ideas:
|
Would love to see this proposal implemented |
I wonder if #14697 will have any positive effect on this? |
Unlikely, but I am curious nevertheless. That said, it should be easier to implement continuous silence with the WASAPI code. |
Fixes #14386 Summary of the issue: Play silence in order to keep audio device open Description of user facing changes By default most users won't notice anything as default volume is 0 (playing silence). I added two config options in the advanced panel: silence duration (default = 30 seconds) and white noise volume (default is set to 0). Playing white noise would be helpfulin order to debug any user issues related to audio dropout. Description of development approach Most of heavylifting has been done by @jcsteh. In wasapi.cpp there has been added class SilencePlayer that spawns a new thread, that just plays silence/white noise when requested. Requests are coming from python code in nvwave.py from WasapiWavePlayer.feed() function.
Fixes nvaccess#14386 Summary of the issue: Play silence in order to keep audio device open Description of user facing changes By default most users won't notice anything as default volume is 0 (playing silence). I added two config options in the advanced panel: silence duration (default = 30 seconds) and white noise volume (default is set to 0). Playing white noise would be helpfulin order to debug any user issues related to audio dropout. Description of development approach Most of heavylifting has been done by @jcsteh. In wasapi.cpp there has been added class SilencePlayer that spawns a new thread, that just plays silence/white noise when requested. Requests are coming from python code in nvwave.py from WasapiWavePlayer.feed() function.
Fixes nvaccess#14386 Summary of the issue: Play silence in order to keep audio device open Description of user facing changes By default most users won't notice anything as default volume is 0 (playing silence). I added two config options in the advanced panel: silence duration (default = 30 seconds) and white noise volume (default is set to 0). Playing white noise would be helpfulin order to debug any user issues related to audio dropout. Description of development approach Most of heavylifting has been done by @jcsteh. In wasapi.cpp there has been added class SilencePlayer that spawns a new thread, that just plays silence/white noise when requested. Requests are coming from python code in nvwave.py from WasapiWavePlayer.feed() function.
Is your feature request related to a problem? Please describe.
When using some bluetooth headphones, speech output is not heard after NVDA has some moments of silence.
The headphones appear to go into standby and miss the start of speech.
Keeping NVDA active is tiring, missing speech is annoying and confusing.
Describe the solution you'd like
Add an option to play silence to keep NVDA active.
Describe alternatives you've considered
Use bluetooth audio add-on.
Additional context
The text was updated successfully, but these errors were encountered: