Selecting a voice

In order to select a voice, you simply add the style="voice-family: name_of_voice;" attribute to the HTML tag. The following examples are adapted from http://demo.readspeaker.com/?p=hl.autovoiceswitch_exp&l=en-us Links to an external site.

<p style="voice-family: Kate;">
This paragraph will be read by a female voice.
</p>

<p style="voice-family: Paul;">
While this paragraph will be read with a male voice.
</p>

The set of voice names include:

  • Kate
  • Paul

See additional voice and languages at https://kth.instructure.com/courses/11/pages/available-languages-and-voices