MediaPipeTasksAudio Framework Reference

TtsSynthesisOptions

public struct TtsSynthesisOptions : Sendable, Equatable

Per-utterance synthesis overrides passed to TextToSpeech (also available as SynthesisOptions).

  • Optional voice ID override for this utterance.

    Declaration

    Swift

    public var voiceId: String?
  • Optional locale override for this utterance.

    Declaration

    Swift

    public var locale: String?