tomwalters@0: #!/usr/bin/env python tomwalters@0: # Copyright 2010, Thomas Walters tomwalters@0: # tomwalters@0: # AIM-C: A C++ implementation of the Auditory Image Model tomwalters@1: # http://www.acousticscale.org/AIMC tomwalters@0: # tomwalters@45: # Licensed under the Apache License, Version 2.0 (the "License"); tomwalters@45: # you may not use this file except in compliance with the License. tomwalters@45: # You may obtain a copy of the License at tomwalters@0: # tomwalters@45: # http://www.apache.org/licenses/LICENSE-2.0 tomwalters@0: # tomwalters@45: # Unless required by applicable law or agreed to in writing, software tomwalters@45: # distributed under the License is distributed on an "AS IS" BASIS, tomwalters@45: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. tomwalters@45: # See the License for the specific language governing permissions and tomwalters@45: # limitations under the License. tomwalters@0: tomwalters@0: import aimc tomwalters@126: module_params = aimc.Parameters() tomwalters@126: global_params = aimc.Parameters() hamel@149: mod_gauss = aimc.ModuleGaussians(module_params) tomwalters@1: sig = aimc.SignalBank() tomwalters@1: sig.Initialize(115, 1, 44100) tomwalters@126: mod_gauss.Initialize(sig, global_params) tomwalters@1: mod_gauss.Process(sig) tomwalters@0: