A good Text-to-Speech JavaScript library [closed] - javascript

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for a good text to speech javascript library for my application. I looked around and saw Jtalk and speak.js. But I'm not sure which one to go forth with. I'm curious to know from people about the pros and cons of them and I'm interested to know if there's any other Javascript plugin you guys came across.
I am basically visualizing a animation and I wanted to add some audio for sight-impaired people to tell them what is happening.

UPDATE 2018
Modern browser has built in TTS
if ('speechSynthesis' in window) {
var msg = new SpeechSynthesisUtterance('Hello World');
window.speechSynthesis.speak(msg);
}
speechSynthesis
Deprecated
If you don't want to write a lot of code (or import some library that you don't understand), I suggest you use Google TTS services. It's quite simple. For example you have a text like: welcome to Stack overflow you can call like this:
http://translate.google.com/translate_tts?ie=UTF-8&q=Welcome%20to%20stack%20overflow&tl=en&total=1&idx=0&textlen=23&prev=input
This will return an audio file reading that text. Then your job is to use browser audio to play it. Nice and easy.
PS: Google TTS has really true voice.
Example: http://jsfiddle.net/qspcL/
Reference from: http://jnjnjn.com/187/playing-audio-on-the-ipad-with-html5-and-javascript/

Well I suggest you use JTtalk. It depends what your target crowd is, because legally blind and what you may think is blind can differ and not everyone knows Braille. The benefits I saw of Jtalk really relied on the examples it had, and how well they worked. To do our entire front-end part of the project with JTalk only took us 2 days, because we pretty much just edited the examples it had. Speak.js had a more difficult learning curve in my/my group's opinion. However, we found that the speech was a bit slurred and had comprehension issues, especially for documents where there were a lot of names (example stock articles mentioning companies). This is why we moved to Braille.
My senior design project was for the blind, however we realized that the text to speech wasn't where we wanted to go because we felt Braille was better. With Braille you can multitask better, easily go back and pause and most blind people can read Braille a lot faster then they can listen.

Related

Suggestion for learning Javascript and jquery [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to learn JavaScript. For this recently I had purchased a book named “JavaScript The Good Parts” from OReilly’s. Though this book is pretty old, but I got some good feedback about this book. I want to learn to write plain JavaScript code from scratch and then move to jquery. Is there any suggestion with this vision?
I have another question, just for curiosity --- is it possible to use JavaScript or jquery for developing desktop application inside?
If you search on Google then there are so many tutorial sites like
For JavaScript
http://www.w3schools.com/js/default.asp
http://www.echoecho.com/javascript.htm
http://www.tizag.com/javascriptT/
http://www.tutorialspoint.com/javascript/index.htm
http://www.quackit.com/javascript/tutorial/
For jQuery
http://www.w3schools.com/jquery/default.asp
http://docs.jquery.com/Tutorials
And there are lots of tutorials and PDFs for these, but you can start from the above urls
Or refer answer from here https://stackoverflow.com/tags/javascript/info
JavaScript The Good Parts is a great book for Javascript, I wouldn't recommend it for learning the language. You should come back to it once you understood the concepts of the language.
As #PitaJ already mentioned in the comments you should take a look at the learning section here: https://stackoverflow.com/tags/javascript/info
And yes, it is possible to develop desktop applications. However you will need software that allows you to do that. i.e.: http://appjs.org/ or http://www.tidesdk.org/
Speaking from a quality point of view, software developed like this will probably never reach the level of natively build applications.
You might also find the node.js project interesting.
EDIT: Windows 8 also allows you to build desktop Javascript application. MSDN Javascript Apps for Windows
Try:
1. http://www.w3schools.com/js/default.asp - w3schools' javascript tutorial
2. http://www.w3schools.com/jquery/default.asp - w3schools' jquery tutorial
These will give a idea of both javascript and jquery.
Once you are familiar with jquery, you can also visit: http:// api.jquery.com/
This is the official jquery api "blog".

How to progress in the quest of learning Javascript [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I apologize in advance as this question isn't directly related to a coding problem or question. Many web developers start out using jQuery as an essential library due to the massive amount of plugins available. It is fairly easy and requires little knowledge to implement a plugin into your code, and use it successfully. The downside is that it can be easy for a beginning developer to ignore learning JavaScript from the ground up, and depend on jQuery plugins to get them through most situations.
After years of doing this, a "developer" learns jQuery piece by piece, but does not have the fundamental understanding of how Javascript works or the mastery required to build custom functions or plugins. This is a common turning point where developers have a yearning to learn more, and really understand how this all works. jQuery aside, developers should probably learn JavaScript first, but this is commonly disregarded amongst beginners, as jQuery is easier to understand and simpler to write.
Although this is a loaded question, I am looking for a good direction to advance my understanding of jQuery AND Javascript. Having a solid understanding of jQuery, I really want to have the knowledge and flexibility to write any code in both jQuery and traditional JavaScript. I am looking for a good direction to advance myself, and for others in similar situations to move forward on the quest of js knowledge.
What are the best books, methods, or success stories you (the community) has from your struggles with learning JavaScript? What recommendations do you have, that myself, and many others can benefit from? Keep in mind, this question is on behalf of people who write jQuery on a regular basis, but struggle to really grasp all of the necessary concepts to master the language. And also, it is for people who started learning jQuery BEFORE javascript, and wish to have a fundamental understanding of both. Thanks in advance!
This is probably the number one reason I disapprove of jQuery. That said, I suffer from a similar issue: After using Game Maker to write my games for me, I can't travel down layers of abstraction and into the realms of C++ or similar without significant effort.
Going up layers of abstraction is easy, that's why abstractions exist in the first place - if they didn't, we'd all still be writing raw machine code. Going down is significantly harder.
Ultimately, all I can really suggest is that, depending on how much "plain" JavaScript you actually know, pick up a beginner-level JS book and start from the top. Just try not to deviate into "this'd be so much easier if I just used jQuery" - if you find yourself doing this, it's bad.

Do you know any easy way to use javascript game engine? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
For a school development project I need to create a bomberman-like game in javascript which will feature a person vs person online gaming.
I can use any open-source library/framework I want.
The thing is that javascript is a pretty hard language to learn from scratch and I probably won't be able to do it in time.
For know I only know ruby on rails witch I'll be using for the backend, save, rooting, etc...
So I went looking for a really easy and fast to use game engine in javascript.
I already found some pretty popular ones like Gamejs, box2dweb or tapjs even a full list at https://gist.github.com/768272 but I'm unable to choose any of them.
Which one provide the best tutorials, documentation, etc...
Any help would be welcome... As you can see, I'm total newbie in game development.
You can use Crafty, it's a nice and easy to use Javascript game library.
I learned a lot from these two videos from Google I/O
GRITS: PVP Gaming with HTML5
Gaming in the Cloud
They give you a pretty descriptive walkthrough of how they made an entire game using HTML5 and Javascript. it's pretty in-depth but I highly recommend watching it. They also open source the game which you can fork on Github if you want to see the source etc. This isn't a javascript framework though but it does teach you a lot of how to make an HTML5 game from SCRATCH.
In terms of libraries, yes Box2d is a very good one and is pretty widely known. Idk if you're trying to make a 3D game but if you are, three.js was something that caught my eye (it was used to make this HTML5 racing game called HexGL). Finally I would also recommend taking a look at Ludei because they have some really great demos which you can kinda just copy and paste. They also help you if you want to move your game onto the mobile space.
Based on what you said though, I would stick with Box2d. I'll try to find some good tutorials and I might update my answer later with more libraries/tutorials if I find any. Hope for the best!

JavaScript frameworks comparison : ExtJS, JQWidgets, DHTMLX [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I will develop a commercial web application based on PHP and MySQL database.
Now, I'm guessing about the JavaScript framework. I find several interesting frameworks like ExtJS, JQWidgets or DHTMLX.
Some of their components can be tested here:
ExtJS
JQWidgets
DHTMLX
However, I don't manage to find a recent comparisons of them.
Could you give me your opinion (advantages / drawbacks) about these frameworks:
Performance on huge data (especialy for grids filtering or sorting)
Licence costs
Compatibility with web browsers
Is it easy to find an information inside the documentation?
Are they buggy?
Usable with SSL connections?
Other points
Thanks.
There's really no other sure way of evaluating than trying them out by yourself. You have to make trade-offs and these hugely depend on the kind of application you are planning to write.
If it's a small app, it might be a good chance to try out any one of them. If it's a large one you better have some experience with all your choices to make an informed decision. It looks you aren't really experienced with none of them - in such case you are in a much worse position as you don't really know what to look for when choosing.
Also, besides the features, there's usability and convenience. All these frameworks involve quite different coding styles. Some of these might be more to your liking than others.
It's hard to help you with such a general question. You need to work it out by yourself. Asking more specific questions and being more specific about your app can help along the way.
I have played around with ExtJS and JQWIDGETS, I do like both, however, thus far I have found JQWIDGETS to be extremely easy and quick and the support provided on the Forum is excellent.
EXTJS on the other hand, is also a powerful product which boasts its architect EDI. But does also make simple tasks slightly difficult and the support/responses on their forums can be very slow or none existent...
At the end of the day, like anything, comes down to personal preference. Good Luck!

Python (or maybe JavaScript / Ruby): open source projects that will give me a (bit) of hand-holding [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Ive been roaming around the interwebs looking for my first open-source project to contribute to - and most cool ones seem to be one-man bands on github, which I could fork - but wouldnt quite provide the code review etc. i think i want, so i can improve my python abilities.
Web.py, flask, celery, twisted etc look interesting - so far only the latter seems like a candidate for something I could properly contribute to, but even though im a decent(ish) python programmer, I think the whole event driven thing is probably too steep a learning curve for me to be able to contribute meaningfully for a while... so i'd probably like to start elsewhere.
Any suggestions?
btw. yes, there is a duplicate question here: https://stackoverflow.com/questions/117561/what-are-good-open-source-projects-in-python-for-which-i-can-be-a-contributor - but it is two years old, I think it is fair to assume new stuff / projects will have emerged in the interim.
Thanks!
You could have a look and see if you find RCTK interesting to contribute to. I'm trying to be as pythonic as possible, it actually supports python 3 if you find that interesting, and even writing demo applications is considered very useful.
I (the head developer) currently already have two contributes whose code I review. This seems to work well.
Looking through the google summer of code proposals is a possibility -- not all the projects have been picked by students, and the organizations probably still would welcome anyone willing to work on them. Participating in gsoc is another option, of course!

Categories