From 416bd737074a287ea47106c73ea6bcfde40a75a8 Mon Sep 17 00:00:00 2001 From: John Glover Date: Fri, 24 Jun 2011 18:17:23 +0100 Subject: Change to using distutils. Currently only builds the simplsndobj module --- __init__.py | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 __init__.py (limited to '__init__.py') 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)) - -- cgit v1.2.3