Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 3.03 KB

README.md

File metadata and controls

73 lines (52 loc) · 3.03 KB

Nightingale

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.

Try it out!

Key features

  • 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

Building from source

The project is designed as a Polymer 3-based web application.

Setup

  1. Install Dependenciesnpm install or yarn
  2. Install Firebase Tools sudo npm install -g firebase-tools

Development

  1. From the root directory npm start
  2. This will run webpack and launch http://localhost:8080/
  3. Sass and JS changes are live reloaded
  4. Run npm run build or yarn build to recompile the Typescript changes.

Testing

  1. Execute npm run lint to run lint
  2. Execute npm run test to run both lint and unit tests

Production

  1. From the root directory npm run build

Deployment

Deploying client-side code

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.

Deploying Cloud Functions

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:

  1. Enable the Google Cloud TTS API for your project
  2. Be sure to update the Firebase client values in src/index.js

To deploy, from the root directory npm run deploy

Make Contributions

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.

Terms

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.