Mercurial > hg > aimc
comparison swig/example.py @ 162:9fcf55c040fe
- Added property svn:eol-style native to all text files
author | tomwalters |
---|---|
date | Thu, 22 Jul 2010 04:14:20 +0000 |
parents | a61f41b221e1 |
children | af02b6addf7a |
comparison
equal
deleted
inserted
replaced
161:0420c86456c1 | 162:9fcf55c040fe |
---|---|
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16 # See the License for the specific language governing permissions and | 16 # See the License for the specific language governing permissions and |
17 # limitations under the License. | 17 # limitations under the License. |
18 | 18 |
19 import aimc | 19 import aimc |
20 module_params = aimc.Parameters() | 20 params = aimc.Parameters() |
21 global_params = aimc.Parameters() | 21 mod_gauss = aimc.ModuleGaussians(params) |
22 mod_gauss = aimc.ModuleGaussians(module_params) | |
23 sig = aimc.SignalBank() | 22 sig = aimc.SignalBank() |
24 sig.Initialize(115, 1, 44100) | 23 sig.Initialize(115, 1, 44100) |
25 mod_gauss.Initialize(sig, global_params) | 24 mod_gauss.Initialize(sig) |
26 mod_gauss.Process(sig) | 25 mod_gauss.Process(sig) |
27 | 26 |