liveBook · Manning

Text-to-speech conversion

As explained in Microsoft Azure in Action

Text-to-speech is the synthesis of spoken audio from written text.

Text-to-speech conversion turns written words into natural-sounding spoken audio using a neural voice model. Choose a ready-made voice, add optional pronunciation or pacing hints with SSML, and select an output format such as MP3 or WAV. section 7.2.2

Two practical delivery patterns cover most applications:

  • On-demand synthesis creates short, low-latency previews when a listener selects Listen—handy for accessibility features and quick samples. section 7.2.2
  • Batch synthesis generates complete chapters or audiobook samples ahead of time, allowing the resulting files to be stored and reused rather than regenerated. section 7.2.2
  • SSML can add shorter pauses or emphasis so technical passages sound less like a spreadsheet reading itself aloud. section 7.2.2
  • Choose sample rate and format according to the destination: mobile streaming may favor one configuration, while high-quality downloads may favor another. section 7.2.2

A practical Azure workflow

A publisher such as Banning Books can provision an Azure Speech service resource, audition voices in Speech Studio, prepare text or SSML, and call the Text-to-Speech API or Speech SDK. The service can stream preview audio directly or generate full chapters through batch synthesis, saving MP3 or WAV files in Azure Blob Storage. Production access can use Entra ID with managed identity or a secure key, alongside normal storage and network controls. section 7.2.2 section 7.6

Table 7.1 Azure Speech services use cases for Banning Books

Service

Key use case

Banning Book usage

Speech to Text

Convert spoken audio into written text

Transcribing author interviews into searchable transcripts for archives, indexing, and repurposing

Text to Speech

Generate natural-sounding audio from text

Producing audio versions of banned tech books and creating audio previews for listeners on the go

Speech Translation

Translate spoken language in real time

Providing multilingual captions or dubbed audio during live events and recorded webinars

Compare text-to-speech with Speech to Text and Speech Translation through concrete publishing, transcription, captioning, and dubbed-audio use cases. section 7.2.3

How Microsoft Azure in Action covers it

How deep it goes
Explains neural voices, SSML, formats, synchronous playback, batch production, storage, and authentication without detailed API configuration.
Examples
Uses Listen previews, full chapters, technical passages, and banned-tech manuscripts for mobile streaming or downloadable audio.
What you can do after
Apply it via Azure Speech APIs or SDKs to stream previews or batch-generate stored MP3 and WAV files.
How it connects
Connects neural voice models with SSML, Speech SDKs, batch synthesis, Blob Storage, authentication, and Speech Translation.

Also explained in

Compare how 4 books explain text-to-speech conversion →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.