Contents

synthesizeSpeechRequest(_:)

Sets the text to synthesize and the voice to use.

Declaration

func synthesizeSpeechRequest(_ speechRequest: AVSpeechSynthesisProviderRequest)

Parameters

  • speechRequest:

    A speech request to synthesize.

Discussion

When the synthesizer finishes generating audio buffers for the speech request, use AUInternalRenderBlock to report offlineUnitRenderAction_Complete.

See Also

Rendering speech