https://github.com/andrewjbateman/javascript-speech-synthesis
:clipboard: Javascript30 tutorial in vanilla javascript text to speech converter
https://github.com/andrewjbateman/javascript-speech-synthesis
css3 html5 javascript-speach-synthesis javascript-text javascript30 speech speech-converter speech-synthesis tutorial tutorial-exercises vanilla-javascript-text
Last synced: 5 months ago
JSON representation
:clipboard: Javascript30 tutorial in vanilla javascript text to speech converter
- Host: GitHub
- URL: https://github.com/andrewjbateman/javascript-speech-synthesis
- Owner: AndrewJBateman
- Created: 2018-11-27T15:23:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T15:17:32.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T02:44:57.923Z (over 1 year ago)
- Topics: css3, html5, javascript-speach-synthesis, javascript-text, javascript30, speech, speech-converter, speech-synthesis, tutorial, tutorial-exercises, vanilla-javascript-text
- Language: CSS
- Homepage:
- Size: 279 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :zap: Javascript Speech Synthesis
Wes Bos Youtube Tutorial: [JavaScript Text-To-Speech - #JavaScript30 23/30](https://www.youtube.com/watch?v=saCpKH_xdgs).
* **Note:** to open web links in a new window use: _ctrl+click on link_




## :page_facing_up: Table of contents
* [General info](#general-info)
* [Screenshots](#screenshots)
* [Technologies](#technologies)
* [Setup](#setup)
* [Features](#features)
* [Status](#status)
* [Inspiration](#inspiration)
* [Contact](#contact)
## :books: General info
* Tutorial Code using javascript speech synthesis.
## :camera: Screenshots
.
## :signal_strength: Technologies
* [Javascript ECMA-262 ECMAScript 2020](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
## :floppy_disk: Setup
* Open index.html in browser. If any code is changed the browser needs to be refreshed.
## :computer: Code Examples
* show voices that can be chosen by user in a dropdown menu.
```javascript
function populateVoices() {
voices = this.getVoices(); // array of 25 synthesised voices, including name & language
voicesDropdown.innerHTML = voices
.filter(voice => voice.lang.includes('en')) // limit 25 voices to just the ones in English
.map(voice => `${voice.name} (${voice.lang})`)
.join('');
}
```
## :cool: Features
* Options to select different voices, voice speed and pitch.
## :clipboard: Status & To-Do List
* Status: Working.
* To-Do: Nothing.
## :clap: Inspiration
* Wes Bos Youtube Tutorial: [JavaScript Text-To-Speech - #JavaScript30 23/30](https://www.youtube.com/watch?v=saCpKH_xdgs).
## :file_folder: License
* N/A
## :envelope: Contact
* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com