follower.h 1.38 KB
Newer Older
1 2 3 4
/*
 *
 *  postfish
 *    
Monty Montgomery's avatar
Monty Montgomery committed
5
 *      Copyright (C) 2002-2005 Monty
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
 *
 *  Postfish 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, or (at your option)
 *  any later version.
 *   
 *  Postfish 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 Postfish; see the file COPYING.  If not, write to the
 *  Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * 
 */

#include "bessel.h"

typedef struct {
  int loc;
  float val;
} peak_state;

31
extern void bi_compand(float **A,float **B,int ch,float *adj,
32 33 34 35 36 37 38 39 40 41
		       float corner,
		       float multiplier,
		       float currmultiplier,
		       float lookahead, 
		       int mode,int softknee,
		       iir_filter *attack, iir_filter *decay,
		       iir_state *iir, peak_state *ps,
		       int active,
		       int over);

42
extern void full_compand(float **A,float **B,int ch,float *adj,
43 44 45 46 47
			 float multiplier,float currmultiplier,
			 int mode,
			 iir_filter *attack, iir_filter *decay,
			 iir_state *iir, peak_state *ps,
			 int active);