From 575e234b005d45dbcdf2afb274df56aac995ef2a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 13 Dec 2007 04:10:52 +0000 Subject: imported jsarlo's DSP windowing objects from http://crca.ucsd.edu/~jsarlo/pd/windowing.tar.gz which has a date of 2002-04-06 svn path=/trunk/externals/windowing/; revision=9090 --- windowFunctions.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 windowFunctions.h (limited to 'windowFunctions.h') diff --git a/windowFunctions.h b/windowFunctions.h new file mode 100644 index 0000000..9aed7ba --- /dev/null +++ b/windowFunctions.h @@ -0,0 +1,30 @@ +/* Copyright (C) 2002 Joseph A. Sarlo +** +** 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. +** +** jsarlo@mambo.peabody.jhu.edu +*/ + +void fillHanning(float *vec, int n); +void fillHamming(float *vec, int n); +void fillBlackman(float *vec, int n); +void fillConnes(float *vec, int n); +void fillCosine(float *vec, int n); +void fillWelch(float *vec, int n); +void fillBartlett(float *vec, int n); +void fillLanczos(float *vec, int n); +void fillGaussian(float *vec, int n, float delta); +void fillKaiser(float *vec, int n, float delta); + -- cgit v1.2.1