Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 624 Bytes

filter.h

File metadata and controls

23 lines (16 loc) · 624 Bytes
 
Oct 21, 1999
Oct 21, 1999
1
2
3
4
5
/*
TiMidity -- Experimental MIDI to WAVE converter
Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
This program is free software; you can redistribute it and/or modify
Dec 31, 2011
Dec 31, 2011
6
it under the terms of the Perl Artistic License, available in COPYING.
Oct 21, 1999
Oct 21, 1999
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
filter.h : written by Vincent Pagel ( pagel@loria.fr )
implements fir antialiasing filter : should help when setting sample
rates as low as 8Khz.
*/
/* Order of the FIR filter = 20 should be enough ! */
#define ORDER 20
#define ORDER2 ORDER/2
#ifndef PI
#define PI 3.14159265
#endif
extern void antialiasing(Sample *sp, int32 output_rate);