Giter Site home page Giter Site logo

gladchinda / web-speech-demo Goto Github PK

View Code? Open in Web Editor NEW
23.0 5.0 16.0 18 KB

Learn how to build a simple text-to-speech voice app for the web using the Web Speech API.

License: MIT License

HTML 9.29% JavaScript 83.95% Dockerfile 6.76%
javascript voice text-to-speech nodejs expressjs jquery speech web-speech-api

web-speech-demo's Introduction

Text-to-Speech Demo

You can checkout the full article on Scotch: Building Text-to-Speech Apps for the Web.

This project contains a demo source code showing how to build a simple text-to-speech voice app for the web using the Web Speech API.

Here is a screenshot of the application demo(without the sound):

Demo Application

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Before you begin, make sure you have npm and node installed on your system.

Run the following commands to get started.

npm install
npm start

The app will run on port 5000 by default. If you would prefer another port, you can specify it in the server.js file. Look for the following line in the file and replace 5000 with your desired port.

const PORT = process.env.PORT || 5000;

web-speech-demo's People

Contributors

gladchinda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

web-speech-demo's Issues

Just wanted to say thanks

Hi mate!

Just wanted to thank you. This repo gave me a head start on quickly throwing together a web app for my grandpa who needed some super simple text-to-speech due to inability to speak properly (old age, leukemia and stroke).

I managed to whip this together in a couple of hours thanks to you:
https://prata.jonte.dev/
(it's hard-coded to swedish).

So thank you! Looking forward to seeing him start using it tomorrow :)

HELP NEEDED

I'm trying to get the voice to speak onload, but I can only get it working when a button is clicked.

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.