This repository contains the latest compiled and minified version of espeakng.js, the Javascript port of eSpeak-ng via emscripten.
espeakng.js allows client-side text-to-speech synthesis in any browser supporting Web workers and the Web Audio API.
- Version: 1.49.1
- Date: 2017-02-01
- License: the GNU General Public License, Version 3 (GPLv3)
- Size: 3.2 MB (including all the voices)
The following compiled and minified files:
js/espeakng.js
js/espeakng.min.js
(seeNotes
below)js/espeakng.min.js.map
(seeNotes
below)js/espeakng.worker.js
js/espeakng.worker.data
are available through the jsdelivr CDN.
To use espeakng.js
in your project, you will need to get (at least):
# Get latest version
https://cdn.jsdelivr.net/espeakng.js/latest/espeakng.min.js
https://cdn.jsdelivr.net/espeakng.js/latest/espeakng.worker.js
https://cdn.jsdelivr.net/espeakng.js/latest/espeakng.worker.data
# Get specific version
https://cdn.jsdelivr.net/espeakng.js/1.49.0/espeakng.min.js
https://cdn.jsdelivr.net/espeakng.js/1.49.0/espeakng.worker.js
https://cdn.jsdelivr.net/espeakng.js/1.49.0/espeakng.worker.data
Since auto-updating is enabled, to make a new version available on jsdeliver, just do (in this repository) the following:
- copy the new JS/data files from the eSpeak-ng project in the
js/
directory; - create a new release, following semver.
The configuration settings for jsdeliver are here.
The files:
demo.html
demo.min.html
js/demo.js
are not uploaded to jsdeliver. They are present in this repository for testing/debugging purposes only.
Currently js/espeakng.min.js
is a copy of js/espeakng.js
,
and js/espeakng.min.js.map
is empty,
but they are included to make things
easier for jsdelivr in the future.
(I was unable to minify js/espeakng.js
with UglifyJS 2
since it complained about the use of the of
operator,
it looks like an issue with ECMAScript-something support.)