def set_volume(self, level, group='all'):
        """Sets the volume of all audio sources in a group.

        Args:
            volume (float): 0 for silence, 1 for nominal volume.