Exemple #1
0
 def setUp(self):
     signal, samplingrate, _ = waveread("test/cmu_arctic/arctic_a0001.wav")
     self.world = World(samplingrate)
     self.alpha = estimate_alpha(samplingrate)
     self.samplingrate = samplingrate
     self.signal = signal
     self.f0, self.spec_mat, _ = self.world.analyze(signal)
     self.ep = ExcitePulse(16000, 80, False)
     self.order = 24
Exemple #2
0
 def setUp(self):
     signal, samplingrate, _ = waveread("test/cmu_arctic/arctic_a0001.wav")
     self.world = World(samplingrate)
     self.alpha = estimate_alpha(samplingrate)
     self.samplingrate = samplingrate
     self.signal = signal
     self.f0, self.spec_mat, _ = self.world.analyze(signal)
     self.ep = ExcitePulse(16000, 80, False)
     self.order = 24
Exemple #3
0
 def _callFUT(self, sampfreq):
     return estimate_alpha(sampfreq)
Exemple #4
0
 def _callFUT(self, sampfreq):
     return estimate_alpha(sampfreq)