diff swig/example.py @ 149:a61f41b221e1

corrected a bug in the swig example and added a new more complex example
author hamel.phil
date Wed, 05 Jan 2011 18:48:02 +0000
parents a9cb396529c2
children 9fcf55c040fe
line wrap: on
line diff
--- a/swig/example.py	Sun Nov 14 06:04:58 2010 +0000
+++ b/swig/example.py	Wed Jan 05 18:48:02 2011 +0000
@@ -19,7 +19,7 @@
 import aimc
 module_params = aimc.Parameters()
 global_params = aimc.Parameters()
-mod_gauss = aimc.ModuleGaussians(params)
+mod_gauss = aimc.ModuleGaussians(module_params)
 sig = aimc.SignalBank()
 sig.Initialize(115, 1, 44100)
 mod_gauss.Initialize(sig, global_params)