Text-to-speech command line tool. Javascript/Node or Python + Microsoft Azure Speech.

Job ID: 32146135

Budget: €250 – €750 EUR

I need to convert a lot of text-files to audiofiles using Microsoft Azure Speech.

The text-files are video subtitle files. Every sentence needs to be converted to a separate, downloadable audiofile.

To automate the process I’m looking for a person to build a command line tool.
It can be Javascript/node (preferred) or Python and should run locally on mac.

Most of the functionality is available in the Azure Speech SDK:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=script%2Cwindowsinstall&pivots=programming-language-javascript

This is the concept flow we could discuss further at the start of the project:
- Flow:
- input from user:
- Supply text file as .vtt or .srt file (=.txt file with timing-cues)
- Set synthesis language and voice
- output from the command line tool:
- downloadable audiofiles
- 1 audiofile = 1 timing-cue from the vtt/srt file
- filename starts with timecode of that cue

Example command line tool input:
text-file in SRT format:
——
1
00:00:00,498 --> 00:00:02,827
Here's my first great text to convert to a separate audiofile.

2
00:00:02,827 --> 00:00:06,383
And here's another, even better text to convert to a separate audiofile.
——

Example command line tool output:
2 downloadable audiofiles:
- 00_00_00_498_projectname_en-US.wav
- 00_00_02_827_projectname_en-US.wav
Related categories: JavaScript Python Node.js Microsoft Azure