code: def round_up(self, num):
          
          inc = self.increment
          size = np.ceil(num / self.sample_rate / inc) * self.sample_rate * inc
          return size
docs: Determine the length to use for this waveform by rounding.
  
          Parameters
          ----------
          num : int
              Proposed size of waveform in seconds
  
          Returns
          -------
          size: int
              The rounded size to use for the waveform buffer in seconds. This
          is calculaed using an internal `increment` attribute, which determines
          the discreteness of the rounding.