
Discover JavaScript libraries for speech technology and voice commands to power a web-based virtual assistant, with books on HTML5 and JavaScript projects, JavaScript Cookbook, and JavaScript Beginners Handbook.
Choose a flexible working environment—Brackets, Visual Studio Code, Notepad++, or an online editor with three panes for HTML and JavaScript editing, and prepare for Web speech API experiments.
Explore HTML tags, CSS styles, and JavaScript basics by inserting code in style and script blocks, linking external CSS and JavaScript, and placing scripts at the end for optimal loading.
Explore how CSS classes and IDs differ in styling elements, using dot notation for classes and hash selectors for IDs, with color changes in a JavaScript powered virtual assistant.
Explore how to use the JavaScript console object for debugging, log outputs, display objects in JSON, and monitor memory and runs with placeholders, colors, and counts.
Learn to output data with JavaScript using alert boxes, document.write, and console.log, and control how text appears on web pages and in the browser console.
Explore how JavaScript functions work, covering syntax, parameters, function and arrow expressions, hoisting, default and rest parameters, returns, nested functions, and object methods such as car start.
Learn to use Web Speech API with JavaScript events and event handlers, control speech recognition with start, stop, and abort, and handle result events to transcribe speech on the page.
Explore how the JavaScript query selector targets the first element with a class using document.querySelector, and learn why only the first match is returned.
Learn to check the browser name using JavaScript by clicking a button that runs a check browser function and displays the result for Safari, Chrome, Firefox, or Opera.
Learn how the web speech recognition API is interpreted by the browser and how starting recognition outputs interim and final results to the console.
Implement browser speech recognition to continuously transcribe speech, display results on the page and console, and join transcripts into a single string, with optional weather API example.
Build a speech to text interface with the Web Speech API by pressing a button to start recognition, transcribing speech into text, and displaying the confidence level.
Learn to perform a Google search via a web form using speech recognition to transcribe speech and open results in a new window.
Populate a dropdown list with speech recognition using JavaScript, capturing microphone input, setting max alternatives, and appending transcribed results as options in the select element.
Explore continuous speech recognition with a live web page demo, implementing a speech recognition object, enabling continuous and interim results, and displaying real-time final transcripts on the page.
Speak color names to a web page and change its background with JavaScript and speech recognition. Transcribed colors update the page, showcasing a hands-on ai virtual assistant feature.
Build a basic virtual assistant with JavaScript, using speech recognition and speech synthesis to answer name, time, date, and weather queries via open weather map api.
Implement text-to-speech in JavaScript to read web page text aloud using speech synthesis, triggered by a button and an input field, enabling an accessible listen-to-article feature.
In this lecture you will be able to put your learning experience in practice
Learn to use the open-source annyang speech recognition library with JavaScript to build a basic AI assistant. Define hello and goodbye commands and display results on a web page.
Learn to build a web-based virtual assistant with JavaScript using voice commands and speech recognition to trigger functions and display responses in the console and on the page.
Explore speech recognition in the browser using a JavaScript machine learning library, including pretrained models and retraining with your data, and deploy in the browser or on Node.js.
Learn how a pre-trained speech commands model recognizes spoken digits zero to nine from a microphone and maps them to digits to drive a JavaScript virtual assistant.
Explore a JavaScript-based pre-trained question-and-answer model that retrieves answers from a text by querying a passage and presenting the results in a web page.
Firstly, students will be given an introduction to some basic Javascript codes and functions, event and event handlers. Also, how to insert javascript codes in a web HTML page including CSS. They will learn how to link external Javascript file to a web page.
This course was created to equip students with the basic concepts of creating an Intelligent Virtual Assistant using Javascript Speech Recognition API and Annyang library. Speech Recognition and Speech Synthesis engine will be used to help students along their path to create a web based AI Virtual Assistant. Learners will be using only HTML, CSS and Javascript codes to create a web interface enabled with Speech Recognition and Speech Synthesis. The console window will also be used to output some results and how to interpret them when creating web applications.
Students will also learn how to setup the local Chrome web server to run their project. They will also learn how to use the console window to debug web application while creating their AI Virtual Assistant.
Moreover, students will learn how to create a multi-language intelligent Virtual Assistant. As bonus section, Speech Recognition using machine learning pre-trained models will also be introduced. In this section learners will be given demonstration using Tensorflow.JS to create their own AI Virtual Assistant using machine learning models.
The course contains useful resources to improve learning experiences and to be confident to create their own personal project.