Giter VIP home page Giter VIP logo

conversational-vui's Introduction

Conversational Voice User Interface (VUI)

Hero Shot

A conversational voice user interface for the web. Set alarms and calendar events with only your voice!

Live Demo

Test out the system here: https://adamcoscia.com/projects/Conversational-VUI/

NOTE: The SpeechRecognition interface of the Web Speech API only works on Chrome, Edge, and Safari browsers. Please open the link above using one of these browsers.

Setup

The SpeechRecognition interface requires an active internet connection to use the tool locally.

All you need to run the tool is a local HTTP server, e.g., the one that comes with the http.server module for Python 3.

Simply start the server rooted in the /frontend folder. For example, if using Python 3, then from the command line or terminal navigate to the folder containing index.html (e.g., cd <path>/<to>/frontend) and run python -m http.server 8000.

Then open your browser, type localhost:8000 into the URL address bar, and you should see the application!

JavaScript Resources

The tool is entirely client-side, browser-based, and written in pure JavaScript.

Third-party JavaScript libraries (annyang, compromise) were downloaded and are loaded into the tool automatically. Standard interfaces (SpeechSynthesis, SpeechRecognition, HTMLAudioElement) are built-in to browser environments by default. The complete list of included libraries and a short of description of their purpose in this project is as follows:

Web Speech API

SpeechRecognition wrapper

  • annyang: https://github.com/TalAter/annyang

    • Wrapper around the SpeechRecognition interface of the Web Speech API that provides utilities for setting handlers and callbacks for recognized speech. Used to make writing the various handlers and callbacks much easier.

Audio I/O

Topic Modeling, Text Extraction

Assets

Several assets were used in the final build. These are broken down by the categories below.

Audio

To get an alarm clock sound to play when a user's alarm goes off, I downloaded an alarm clock sound from https://www.soundjay.com/clock-sounds-1.html.

File Structure

📦frontend
┣ 📂assets
┃ ┣ 📂audio
┃ ┃ ┗ 📜alarm-clock-01.wav
┃ ┣ 📂favicon
┃ ┃ ┣ 📜android-chrome-192x192.png
┃ ┃ ┣ 📜android-chrome-512x512.png
┃ ┃ ┣ 📜apple-touch-icon.png
┃ ┃ ┣ 📜favicon-16x16.png
┃ ┃ ┣ 📜favicon-32x32.png
┃ ┃ ┣ 📜favicon.ico
┃ ┃ ┗ 📜site.webmanifest
┃ ┗ 📂fonts
┃ ┃ ┣ 📜fonts.css
┃ ┃ ┣ 📜roboto-v27-latin-100.woff
┃ ┃ ┣ 📜roboto-v27-latin-100.woff2
┃ ┃ ┣ 📜roboto-v27-latin-300.woff
┃ ┃ ┣ 📜roboto-v27-latin-300.woff2
┃ ┃ ┣ 📜roboto-v27-latin-500.woff
┃ ┃ ┣ 📜roboto-v27-latin-500.woff2
┃ ┃ ┣ 📜roboto-v27-latin-700.woff
┃ ┃ ┣ 📜roboto-v27-latin-700.woff2
┃ ┃ ┣ 📜roboto-v27-latin-900.woff
┃ ┃ ┣ 📜roboto-v27-latin-900.woff2
┃ ┃ ┣ 📜roboto-v27-latin-regular.woff
┃ ┃ ┗ 📜roboto-v27-latin-regular.woff2
┣ 📂css
┃ ┗ 📜main.css
┣ 📂js
┃ ┣ 📂libs
┃ ┃ ┣ 📜annyang.min.js
┃ ┃ ┣ 📜compromise-dates.min.js
┃ ┃ ┣ 📜compromise-numbers.min.js
┃ ┃ ┗ 📜compromise.min.js
┃ ┗ 📜main.js
┗ 📜index.html

Credits

CS 6456 User Interface Software

Georgia Institute of Technology

Dr. Keith Edwards

Fall 2021

Team

conversational-vui's People

Contributors

adamcoscia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.