ms_create_ssml {conrad}R Documentation

Create Speech Synthesis Markup Language (SSML)

Description

Create Speech Synthesis Markup Language (SSML)

Usage

ms_create_ssml(
  script,
  voice = NULL,
  gender = c("Female", "Male"),
  language = "en-US",
  escape = FALSE
)

Arguments

script

A character vector of lines to be spoken

voice

Full voice name,

gender

Sex of the Speaker

language

Language to be spoken

escape

Should non-standard characters be substituted? Should not be used if script has SSML tags

Value

A character string of the text and SSML markup

Examples

ms_create_ssml("hey I really like things & dogs", escape = TRUE)
ms_create_ssml("hey I really like things")
ms_create_ssml('hey I <emphasis level="strong">really like</emphasis> things')
ms_create_ssml('hey I <emphasis level="strong">really like</emphasis> things',
escape = TRUE)


[Package conrad version 1.0.0 Index]