Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.15 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.15 KB

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