00001 /* 00002 Copyright (C) 2003 Paul Brossier 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00029 #ifndef SCALE_H 00030 #define SCALE_H 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00037 typedef struct _aubio_scale_t aubio_scale_t; 00038 00047 aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig ); 00053 void del_aubio_scale(aubio_scale_t *s); 00060 void aubio_scale_do(aubio_scale_t *s, fvec_t * input); 00070 void aubio_scale_set (aubio_scale_t *s, smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig); 00071 00072 #ifdef __cplusplus 00073 } 00074 #endif 00075 00076 #endif