def from_sample_rate(sample_rate, n_bands, always_even=False):
        """
        Return a :class:`~zounds.spectral.LinearScale` instance whose upper
        frequency bound is informed by the nyquist frequency of the sample rate.

        Args:
            sample_rate (SamplingRate): the sample rate whose nyquist frequency
                will serve as the upper frequency bound of this scale
            n_bands (int): the number of evenly-spaced frequency bands
        """
        fb = FrequencyBand(0, sample_rate.nyquist)
        return LinearScale(fb, n_bands, always_even=always_even)