Git Product home page Git Product logo

nvda-bluetooth-audio's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nvda-bluetooth-audio's Issues

Nvda 2024.1 compatibility

Hello,

Could you generate a release with nvda 2024.1 compatibility?

I haven't been able to locate such a release, and I supose the addon distribution system, is still broken on the NVDA system.

Unable to use ui.message in another thread

Issue

Consider the following code to paste in NVDA's console

import threading
import ui
def test():
 threading.Thread(target=thread).start()

def thread():
 ui.message("Hello world")

Then, in the console, type:
test()

Actual result

With this add-on, an error is logged and the message is not spoken.

Expected result

ui.message should be usable from any thread as when this add-on is not installed in NVDA.

Improved audio to make background sound more imperceptible without suspending Bluetooth audio.

I've been testing this audio I'll send you that I've been creating and at least in my situation, my Bluetooth device still doesn't go into sleep mode when I set it to volume 1.

I would like you to try this audio and tell me if your Bluetooth device works perfectly for you.

To paste this audio, simply press windows + r and paste the following:

%AppData%\nvda\addons\bluetoothaudio\sounds

Once you are in this directory, paste the file you downloaded into this post.

nvda audio does not come through bluetooth headphone when calling in skype or similar apps.

When I'm calling in skype I can not nvda's voice through bluetooth headphone but nvda's voice comes out of wired headphone and other sounds comes through bluetooth headphone.
look at this issue.
nvaccess/nvda#4178
If I press ctrl+nvda+s and switch audio output to (my bluetooth headphone)+headset, it will resolve temporarily.
This issue may does not have related directly to this addon but this addon can be solution.

throws an error when used with nv-box addon

NV-Box
Sorry, this addon is not localized into other languages, its main language is Chinese.

The error log is as follows:

ERROR - stderr (14:40:25.035) - Thread-4 (15632):
Exception in thread Thread-4:
Traceback (most recent call last):
  File "C:\Users\cary\AppData\Roaming\nvda\addons\NVBox\globalPlugins\nvbox\caiyun\__init__.py", line 127, in broadcastWeather
    ui.message(f'正在获取 {location[2]} 的天气信息')
  File "ui.pyc", line 130, in message
  File "speech\speech.pyc", line 188, in speakMessage
  File "C:\Users\cary\AppData\Roaming\nvda\addons\bluetoothaudio\globalPlugins\bluetoothAudio.py", line 185, in wrapperFunc
    hookFunc()
  File "C:\Users\cary\AppData\Roaming\nvda\addons\bluetoothaudio\globalPlugins\bluetoothAudio.py", line 66, in resetCounter
    beepThread.play(t, reopen)
  File "C:\Users\cary\AppData\Roaming\nvda\addons\bluetoothaudio\globalPlugins\bluetoothAudio.py", line 165, in play
    self.timer.Start(timerDuration, wx.TIMER_ONE_SHOT)
wx._core.wxAssertionError: C++ assertion "wxThread::IsMain()" failed at ..\..\src\common\timerimpl.cpp(57) in wxTimerImpl::Start(): timer can only be started from the main thread

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "threading.pyc", line 926, in _bootstrap_inner
  File "threading.pyc", line 870, in run
  File "C:\Users\cary\AppData\Roaming\nvda\addons\NVBox\globalPlugins\nvbox\wrapper.py", line 32, in run
    func(*args, **kwargs)
  File "C:\Users\cary\AppData\Roaming\nvda\addons\NVBox\globalPlugins\nvbox\caiyun\__init__.py", line 137, in broadcastWeather
    ui.message(f'{e}')
  File "ui.pyc", line 130, in message
  File "speech\speech.pyc", line 188, in speakMessage
  File "C:\Users\cary\AppData\Roaming\nvda\addons\bluetoothaudio\globalPlugins\bluetoothAudio.py", line 185, in wrapperFunc
    hookFunc()
  File "C:\Users\cary\AppData\Roaming\nvda\addons\bluetoothaudio\globalPlugins\bluetoothAudio.py", line 66, in resetCounter
    beepThread.play(t, reopen)
  File "C:\Users\cary\AppData\Roaming\nvda\addons\bluetoothaudio\globalPlugins\bluetoothAudio.py", line 165, in play
    self.timer.Start(timerDuration, wx.TIMER_ONE_SHOT)
wx._core.wxAssertionError: C++ assertion "wxThread::IsMain()" failed at ..\..\src\common\timerimpl.cpp(57) in wxTimerImpl::Start(): timer can only be started from the main thread
IO - tones.beep (14:40:25.144) - Thread-3 (10476):
Beep at pitch 659, for 50 ms, left volume 50, right volume 50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.