summaryrefslogtreecommitdiff
path: root/sms/transforms.c
diff options
context:
space:
mode:
authorJohn Glover <glover.john@gmail.com>2011-06-24 18:17:23 +0100
committerJohn Glover <glover.john@gmail.com>2011-06-24 18:17:23 +0100
commit416bd737074a287ea47106c73ea6bcfde40a75a8 (patch)
tree74562303d4f4f2f2e010f7e13cba41dc4852b50c /sms/transforms.c
parentd26519464dcbf8c3682348167c29454961facefe (diff)
downloadsimpl-416bd737074a287ea47106c73ea6bcfde40a75a8.tar.gz
simpl-416bd737074a287ea47106c73ea6bcfde40a75a8.tar.bz2
simpl-416bd737074a287ea47106c73ea6bcfde40a75a8.zip
Change to using distutils.
Currently only builds the simplsndobj module
Diffstat (limited to 'sms/transforms.c')
-rw-r--r--sms/transforms.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/sms/transforms.c b/sms/transforms.c
deleted file mode 100644
index 04ab492..0000000
--- a/sms/transforms.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2008 MUSIC TECHNOLOGY GROUP (MTG)
- * UNIVERSITAT POMPEU FABRA
- *
- *
- * 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
- *
- */
-/*! \file transforms.c
- * \brief routines for different Fast Fourier Transform Algorithms
- *
- */
-
-#include "sms.h"
-#include "OOURA.h"
-
-static int ip[NMAXSQRT +2];
-static sfloat w[NMAX * 5 / 4];
-
-/*! \brief Forward Fast Fourier Transform
- *
- * function to call the OOURA routines to calculate
- * the forward FFT. Operation is in place.
- * \todo if sizeFft != power of 2, there is a silent crash.. cuidado!
- *
- * \param sizeFft size of the FFT in samples (must be a power of 2 >= 2)
- * \param pArray pointer to real array (n >= 2, n = power of 2)
- */
-void sms_fft(int sizeFft, sfloat *pArray)
-{
- rdft(sizeFft, 1, pArray, ip, w);
-}
-
-/*! \brief Inverse Forward Fast Fourier Transform
- *
- * function to call the OOURA routines to calculate
- * the Inverse FFT. Operation is in place.
- *
- * \param sizeFft size of the FFT in samples (must be a power of 2 >= 2)
- * \param pArray pointer to real array (n >= 2, n = power of 2)
- */
-void sms_ifft(int sizeFft, sfloat *pArray)
-{
- rdft(sizeFft, -1, pArray, ip, w);
-}