summaryrefslogtreecommitdiff
path: root/sndobj/sndobj.i
diff options
context:
space:
mode:
Diffstat (limited to 'sndobj/sndobj.i')
-rw-r--r--sndobj/sndobj.i58
1 files changed, 0 insertions, 58 deletions
diff --git a/sndobj/sndobj.i b/sndobj/sndobj.i
deleted file mode 100644
index ef2242a..0000000
--- a/sndobj/sndobj.i
+++ /dev/null
@@ -1,58 +0,0 @@
-%module(directors="1") simplsndobj
-%{
- #include "SndObj.h"
- #include "SndIO.h"
- #include "Table.h"
- #include "FFT.h"
- #include "IFFT.h"
- #include "PVA.h"
- #include "PVS.h"
- #include "IFGram.h"
- #include "SinAnal.h"
- #include "SinSyn.h"
- #include "AdSyn.h"
- #include "ReSyn.h"
- #include "HarmTable.h"
- #include "HammingTable.h"
- #define SWIG_FILE_WITH_INIT
-%}
-
-%feature("director") SndObj;
-%feature("director") SinAnal;
-
-%include "../common/numpy.i"
-
-%init
-%{
- import_array();
-%}
-
-%ignore SndObj::SndObj(SndObj &);
-%ignore SndObj::operator=(SndObj);
-
-%apply(double* IN_ARRAY1, int DIM1) {(double* in_vector, int size)};
-%apply(double* INPLACE_ARRAY1, int DIM1) {(double* out_vector, int size)};
-%include "SndObj.h"
-%clear(double* in_vector, int size);
-%clear(double* out_vector, int size);
-
-%include "SndIO.h"
-%include "Table.h"
-%include "FFT.h"
-%include "IFFT.h"
-%include "PVA.h"
-%include "PVS.h"
-%include "IFGram.h"
-
-%apply (int DIM1, double* IN_ARRAY1)
-{
- (int numamps, double* amps),
- (int numfreqs, double* freqs),
- (int numphases, double* phases)
-}
-%include "SinAnal.h"
-%include "SinSyn.h"
-%include "ReSyn.h"
-%include "AdSyn.h"
-%include "HarmTable.h"
-%include "HammingTable.h"