- Transforms HTML to SSML
- Uses the Mircosoft Speech SDK for JavaScript on Node.js.
- A subscription key for the Speech service. See Try the speech service for free.
- A Node.js compatible device.
- run
npm install
to install the dependencies. - Copy
.env.example
to.env
and add the AzureSubscriptionKey
.
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
- Add your text into ssml.xml
- Run
node index.js
This will create a file named YourAudioFile.wav
in the folder.