-
Notifications
You must be signed in to change notification settings - Fork 6
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
MakeVoice installed automation voice not detected by NVDA #22
Comments
I'm not sure if its related but while NVDA detects and can select the automation, a simple server does not receive any speech events. Narrator does can both selection the voice and speech events are received from this. simple serverconst net = require('net')
const server = net.createServer(s => {console.log('connection'); s.on('data', (...args) => console.log('event', args));})
server.listen('\\\\.\\pipe\\my_pipe', (e) => e ? console.error('error', e) : console.log('listening')), 0 |
@mzgoddard Is there any chance you're using the "x64" build target in Microsoft Visual Studio rather than the one named "Win32"? The two screen readers appear to differ in the architecture of the voices they will load: if I build for x64, then I see what you've reported (Narrator lists the voice and NVDA does not). If I build for Win32, I see the opposite (NVDA lists the voice and Narrator does not). |
Oh. Yes I think that is what I've been building under. I was building with Visual Studios 2022 and I think it was defaulting to building the x64 build and was putting the build artifacts in a |
Okay, cool. I think the short-term fix is to document this requirement since Visual Studio clearly doesn't behave the same way on all systems (despite writing the build configuration to a comment in one of the checked-in C++ files--it apparently doesn't read from that file). I'm reluctant to remove the x64 build target altogether, though. We may need it in the future (e.g. when we add support for Narrator), and I'm somewhat uncomfortable even temporarily removing code that's been generated by a foreign (to me) build system. Ideally, we could just build for both architectures every time, but I'm not sure that's feasible. Just thinking aloud here:
What do you think, @mzgoddard? |
I'm also reluctant to remove the x64 build. At some point, maybe sooner than later, we probably need to add an arm build. I know windows has a x64 emulator of some kind but I don't know if or how that may work for DLLs like we build here. I figure since we run |
That's a far more informed theory than I've been able to come up with! It also sounds like a great starting point for when we start working on the long-term fix. |
Testing with a Windows 11 Image installing the voice with MakeVoice, the speech voice is not detected by NVDA. Narrator does detect the voice. As of d71855c installing with the install js script, NVDA detects the voice.
Guest OS: Windows 11
VM Image: 2023 Dev Image
NVDA Version: 2023.1
Host OS: macos 13
VM Software: Parallels Desktop 18
The text was updated successfully, but these errors were encountered: