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@0: # This program is free software: you can redistribute it and/or modify tomwalters@0: # it under the terms of the GNU General Public License as published by tomwalters@0: # the Free Software Foundation, either version 3 of the License, or tomwalters@0: # (at your option) any later version. tomwalters@0: # tomwalters@0: # This program is distributed in the hope that it will be useful, tomwalters@0: # but WITHOUT ANY WARRANTY; without even the implied warranty of tomwalters@0: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the tomwalters@0: # GNU General Public License for more details. tomwalters@0: # tomwalters@0: # You should have received a copy of the GNU General Public License tomwalters@1: # along with this program. If not, see . tomwalters@0: tomwalters@0: import aimc tomwalters@1: params = aimc.Parameters() tomwalters@1: mod_gauss = aimc.ModuleGaussians(params) tomwalters@1: sig = aimc.SignalBank() tomwalters@1: sig.Initialize(115, 1, 44100) tomwalters@1: mod_gauss.Initialize(sig) tomwalters@1: mod_gauss.Process(sig) tomwalters@0: