def METHOD_NAME(
    self,
    language: Optional[str] = None,
    voice: Optional[str] = None,
    speed: Optional[int] = None,
    pitch: Optional[int] = None,
):
    """set_speech_options(language, voice, speed, pitch)
    Configures speech settings used by the :meth:`.say` method.
    Any option that is set to ``None`` will not be changed. If an option
    is set to an invalid value :meth:`.say` will use the default value
    instead.
    Arguments:
        language (str):
            Language of the text. For example, you can choose ``'en'``
            (English) or ``'de'`` (German). [#espeak_lang]_
        voice (str):
            The voice to use. For example, you can choose ``'f1'`` (female
            voice variant 1) or ``'m3'`` (male voice variant 3).
            [#espeak_lang]_
        speed (int):
            Number of words per minute.
        pitch (int):
            Pitch (0 to 99). Higher numbers make the voice higher pitched
            and lower numbers make the voice lower pitched.
    """