def train_(self, d): self.old_samplerate = get_samplerate(d)
def train_(self, d): fs = get_samplerate(d) self.log.info('Detected sample rate of %d Hz' % fs) self.filter = self.filt_design_func(fs)
def train_(self, d): self.sample_rate = get_samplerate(d)