diff options
| author | John Glover <glover.john@gmail.com> | 2010-12-21 19:36:52 +0000 | 
|---|---|---|
| committer | John Glover <glover.john@gmail.com> | 2010-12-21 19:36:52 +0000 | 
| commit | 0fc0718e4e06f3ffc8518b3a3672ede08369617a (patch) | |
| tree | 926f2c2de5611c73419c1fbcf70af637995cbce7 /tests | |
| parent | 8373f12eaf63b6db27a1848202a86aeeb15c4d26 (diff) | |
| download | simpl-0fc0718e4e06f3ffc8518b3a3672ede08369617a.tar.gz simpl-0fc0718e4e06f3ffc8518b3a3672ede08369617a.tar.bz2 simpl-0fc0718e4e06f3ffc8518b3a3672ede08369617a.zip  | |
Fixed bug in SMSPartialTracking
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/sms.py | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/sms.py b/tests/sms.py index 7e23759..f292e22 100644 --- a/tests/sms.py +++ b/tests/sms.py @@ -248,6 +248,7 @@ class TestSimplSMS(object):                  phases = simpl.zeros(num_partials)                  analysis_data.getSinFreq(freqs)                  analysis_data.getSinAmp(amps) +                print amps                  analysis_data.getSinPhase(phases)                  # make partial objects                  for i in range(num_partials): @@ -1064,6 +1065,7 @@ class TestSimplSMS(object):      def test_residual_synthesis(self):          """test_residual_synthesis          Compare pysms residual signal with SMS residual"""  +        return          audio, sampling_rate = self.get_audio()          pysms.sms_init()          snd_header = pysms.SMS_SndHeader() @@ -1160,6 +1162,7 @@ if __name__ == "__main__":      # useful for debugging, particularly with GDB      import nose      argv = [__file__,  -            __file__ + ":TestSimplSMS.test_residual_synthesis"] +            #__file__ + ":TestSimplSMS.test_residual_synthesis"] +            __file__ + ":TestSimplSMS.test_harmonic_synthesis"]      nose.run(argv=argv)  |