tomwalters@268: #!/usr/bin/env python tomwalters@268: # Copyright 2010, Thomas Walters tomwalters@268: # tomwalters@268: # AIM-C: A C++ implementation of the Auditory Image Model tomwalters@273: # http://www.acousticscale.org/AIMC tomwalters@268: # tomwalters@268: # This program is free software: you can redistribute it and/or modify tomwalters@268: # it under the terms of the GNU General Public License as published by tomwalters@268: # the Free Software Foundation, either version 3 of the License, or tomwalters@268: # (at your option) any later version. tomwalters@268: # tomwalters@268: # This program is distributed in the hope that it will be useful, tomwalters@268: # but WITHOUT ANY WARRANTY; without even the implied warranty of tomwalters@268: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the tomwalters@268: # GNU General Public License for more details. tomwalters@268: # tomwalters@268: # You should have received a copy of the GNU General Public License tomwalters@273: # along with this program. If not, see . tomwalters@268: tomwalters@268: import aimc tomwalters@273: params = aimc.Parameters() tomwalters@273: mod_gauss = aimc.ModuleGaussians(params) tomwalters@273: sig = aimc.SignalBank() tomwalters@273: sig.Initialize(115, 1, 44100) tomwalters@273: mod_gauss.Initialize(sig) tomwalters@273: mod_gauss.Process(sig) tomwalters@268: