mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Responsive voice api not working in Electron.NET #302
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Voljinlvlan on GitHub (Apr 30, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
Hi, I'm working with electron.net first time and i create queue application but i have some issue about audio in client machine, So in my develop machine work fine. But when i build this software to client the audio not working
i use Responsive Voice to play text
i already add
<script src="~/js/responsivevoice.js"></script>and end of script already add
<script>if (window.module) module = window.module;</script>i don't know why, Have someone get this issue and solved it ? Please shared, Thank you so much.
@Voljinlvlan commented on GitHub (Apr 30, 2019):
look like on windows 8 (64bit) & 8 (32bit) work fine. But in window 10 sounds not working
@GregorBiswanger commented on GitHub (May 16, 2019):
I do not think it's a Electron problem. Have you already opened the Chrome Developer Tools and looked for errors?
Electron.WindowManager.BrowserWindows.First().WebContents.OpenDevTools();Other options for you:
Electron uses Chromium and here is an API for it:
https://developers.google.com/web/updates/2014/01/Web-apps-that-talk-Introduction-to-the-Speech-Synthesis-API
Alternatively one could try a .NET core solution in the main process:
https://www.c-sharpcorner.com/article/convert-text-to-speech-in-multiple-languages-using-asp-net-core-c-sharp/