Skip to content

ovbm/rejoha21-text-to-speech

Repository files navigation

Text-To-Speech Experiments for Rethink Journalism Hackathon 2021

Goals

  • Transforms HTML to SSML
  • Uses the Mircosoft Speech SDK for JavaScript on Node.js.

Prerequisits

Install

  • run npm install to install the dependencies.
  • Copy .env.exampleto .envand add the Azure SubscriptionKey.

Get a text sample from a URL

Example for netzpolitik.org: ./any-to-ssml.sh https://netzpolitik.org/2021/netzdg-novelle-mehr-rechte-fuer-nutzerinnen-nur-auf-schmalem-meldeweg/ > ssml.xml

Example for republik: ./any-to-ssml.sh https://www.republik.ch/2021/05/06/der-glaeserne-gast/ > ssml.xml

Example for woz: ./any-to-ssml.sh https://www.woz.ch/2118/auf-allen-kanaelen/auslaendische-agenten > ssml.xml

Run the sample

  • Add your text into ssml.xml
  • Run node index.js

This will create a file named YourAudioFile.wavin the folder.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published