-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add sounds #3
Comments
I noticed the same problem as I went in and tried to fix things for my personal use. It seems like that So far I have been using MacOS's built in text-to-speech after manually selecting the text, which produces serviceable sound and works offline. I wonder if there is a way to invoke the system speech synthesizer from the browser. I thought say.js might be an option but didn't have time to look into integrating it to LWT. As of open source sounds, I don't think it would be necessary if the system speech synthesizer suffice. I assume you are talking about adding an open source sound library? I didn't have time to experiment with using the system synthasizer since my last commit in August, but I could try if you think this is a good idea. |
As far as I am aware, the current version already implemented a "Read in browser" button that reads the whole text in the browser. But since I have audio for texts already, I think it's more helpful to have speech synthesis for individual words. Or am I missing something... |
I was more thinking of sounds when doing tests for example, a "success" sound is rewarding, which help learning. A text-to-speech feature for individual word is also a good idea. In fact modern browsers already ship this functionality with JS, so there is no need to install anything here :) Concerning the file As there is no priority here, I do not have a date for this feature but I am welcome to any pull request! If you want to experiment a bit, you can try to reproduce the "Read in browser" functionality in |
Hi! I did manage to implement a new tts.php that works with the SpeechSynthesis API in modern browsers on my fork (mostly in this commit). I took a look at your version but realised something breaks when migrating my lwt database, which I think I will open another issue with details. Hopefully I can open a pull request in the future when things are figured out :) |
Hi! I have read your commits, There are a few steps we need to take before any pull request, so I created an issue on your fork. I don't remember changing database calls, so that may be an issue related to the official LWT, it worth opening a separate issue. I'm also implementing sounds for tests, you can listen to sounds folder on dev branch, so we may close this issue soonner tanh expected. |
For records, I implemented two sounds systems in release 2.2.0.
How is it going on your side @chaosarium ? Your commits on |
Hi @HugoFara! I checked out the latest version (2.2.0) and saw the changes that you've made. I like the success and failure sounds! I ran into some problem with changing language for previous modification to One problem, however, is that the "Read words aloud" button doesn't stay checked in test mode so everytime the user need to check the box to get pronunciation. I've also been thinking about some ideas I had for LWT and I will bring them to discussions soon. Hopefully I can have some time to contribute. |
Hi! Glad to see you appreciate the motivational sounds! For the "Read words aloud", in fact it is not saved to settings yet, as we are working on a merge of your changes on Never hesitate to create issues when you run across problems ;) In the worst case the resolution may help someone else! |
Sounds are often a good way to make an application more lively.
Open source sounds are necessary, but that should not be a problem.
The text was updated successfully, but these errors were encountered: