Mercurial > hg > aimc
comparison swig/example.py @ 237:af02b6addf7a
- Added support for movies!
author | tomwalters |
---|---|
date | Thu, 21 Oct 2010 01:46:39 +0000 |
parents | 9fcf55c040fe |
children | 0a8fac5bbfeb |
comparison
equal
deleted
inserted
replaced
236:4fb328f81012 | 237:af02b6addf7a |
---|---|
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 params = aimc.Parameters() | 20 module_params = aimc.Parameters() |
21 global_params = aimc.Parameters() | |
21 mod_gauss = aimc.ModuleGaussians(params) | 22 mod_gauss = aimc.ModuleGaussians(params) |
22 sig = aimc.SignalBank() | 23 sig = aimc.SignalBank() |
23 sig.Initialize(115, 1, 44100) | 24 sig.Initialize(115, 1, 44100) |
24 mod_gauss.Initialize(sig) | 25 mod_gauss.Initialize(sig, global_params) |
25 mod_gauss.Process(sig) | 26 mod_gauss.Process(sig) |
26 | 27 |