Exemple #1
0
 def train_(self, d):
     self.old_samplerate = get_samplerate(d)
Exemple #2
0
  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)
Exemple #3
0
 def train_(self, d):
   self.sample_rate = get_samplerate(d)