diff options
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/__init__.py b/__init__.py deleted file mode 100644 index 82e693e..0000000 --- a/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) 2009 John Glover, National University of Ireland, Maynooth -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -from basetypes import Frame, Peak, Partial -from basetypes import PeakDetection, PartialTracking, Synthesis, Residual -from basetypes import compare_peak_amps, compare_peak_freqs -from sndobj import SndObjPeakDetection, SndObjPartialTracking, SndObjSynthesis -from sms import SMSPeakDetection, SMSPartialTracking, SMSSynthesis, SMSResidual -from mq import MQPeakDetection, MQPartialTracking, MQSynthesis -from plot import plot_peaks, plot_partials -from audio import read_wav - -import numpy - -def array (n, type=float): - return(numpy.array(n, dtype=type)) - -def asarray (n, type=float): - return(numpy.asarray(n, dtype=type)) - -def zeros (n, type=float): - return(numpy.zeros(n, dtype=type)) - |