@classmethod
def from_max_divisor(cls, length: float, max_divisor: int,
    simplicity_preference: float='default') ->'BeatQuantizationScheme':
    """
        Takes a max divisor argument instead of a list of allowed divisors.

        :param length: In quarter-notes
        :param max_divisor: The largest allowable divisor
        :param simplicity_preference: Preference for simple divisors (see class description)
        """
    return cls(length, range(2, max_divisor + 1), simplicity_preference)
