NOTE
This is an experimental project and will receive minimal maintenance. Only bugs for security issues will be accepted. No feature requests will be accepted. Pull requests will be acknowledged and reviewed as soon as possible. There is no associated SLAs.
Some of the projects in this experimental org might mature to a more stable state and move into the main Actions on Google GitHub org.
A graphical tool to generate and simulate the Speech Synthesis Markup Language (SSML) using a familiar non-linear editor interface. In voice applications, SSML can be used to create more immersive audio experiences.
- Drag and drop blocks onto multiple tracks
- Snap blocks to each other on one or more tracks
- Preview speech synthesis using Google Cloud TTS voices
- Edit parameters for each SSML block
- Edit parameters for each track independently
- Move blocks around without requiring speech to be synthesized again
- Download full audio output
- Generate full SSML output
The project is designed as a Polymer 3-based web application.
- Install Dependencies
npm install
oryarn
- Install Firebase Tools
sudo npm install -g firebase-tools
- From the root directory
npm start
- This will run webpack and launch http://localhost:8080/
- Sass and JS changes are live reloaded
- Run
npm run build
oryarn build
to recompile the Typescript changes.
- Execute
npm run lint
to run lint - Execute
npm run test
to run both lint and unit tests
- From the root directory
npm run build
The project is hosted on GitHub pages, so commit after running the build and then the web app
should be regenerated once on the master
branch.
For those not committing back to the main project, an alternate static hosting site like Firebase may be used.
To provide speech synthesis, this project uses Cloud Functions for Firebase to interact with the Google Cloud Text-to-Speech API.
If this deployment is not happening to the original project:
- Enable the Google Cloud TTS API for your project
- Be sure to update the Firebase client values in
src/index.js
To deploy, from the root directory npm run deploy
Please read and follow the steps in the CONTRIBUTING.md.
See LICENSE.
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.