1.0.2 • Published 11 months ago

srttossml v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Convert Srt content to SSML!

Using AWS Polly requires SSML files for a better optimised text to speech experience with the ability to add pauses in speech and time speech output properly.

Installation

npm

npm install srttossml

yarn

yarn add srttossml

Usage

This library receives srt file input and converts to AWS Polly compatible ssml :

import srttossml from "srttosmsl"

// takes in two parameters
srttossml(srtInputPath, ssmlOutputPath)

// srtInputPath is the file path to the srt file with the contents
// ssmlOutputPath is the file path where generated ssml file will be stored on disc
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago