def METHOD_NAME(self, volume: int, which: str = "_all_") -> None:
    """set_volume(volume, which="_all_")
    Sets the speaker volume.
    Arguments:
        volume (Number, %):
            Volume of the speaker.
        which (str):
            Which volume to set. ``'Beep'`` sets the volume for
            `beep` and `play_notes`. ``'PCM'`` sets the
            volume for :meth:`.play_file` and :meth:`.say`. ``'_all_'``
            sets both at the same time.
    """