Alejandro Acuña
2024-08-12 1876e65234c20209001178705cfa50d8f9ded67a
1
2
3
4
5
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
// AudioSink.h: interface for the AudioSink class.
// FIRCoefficients.h: FIR filter coefficients for ITU and Telecaster
//  there are used to shape the input and output signals to the sound
//  card so that the audio sounds sharper. especially good when low
//  bandwidth codecs are used
//
//////////////////////////////////////////////////////////////////////
 
#ifndef AFX_FIRCOEFFICIENTS_H__08C0DCDA_463E_4DF1_80E7_1BC6CE17AF92__INCLUDED_
#define AFX_FIRCOEFFICIENTS_H__08C0DCDA_463E_4DF1_80E7_1BC6CE17AF92__INCLUDED_
 
/*
FIR Filter Coefficients
Sampling Rate
8.000000E+3
N
29
h[0..28]
*/
 
#define FIR_ITU_TX_IRS_NUM 29
double FIR_ITU_TX_IRS[] =
{
    0.001554,
    -0.004377,
    -0.017541,
    -0.009891,
    -0.005435,
    -0.014788,
    -0.015432,
    -0.013299,
    -0.026527,
    0.012746,
    -0.061046,
    0.020939,
    -0.128970,
    -0.165718,
    0.853968,
    -0.165718,
    -0.128970,
    0.020939,
    -0.061046,
    0.012746,
    -0.026527,
    -0.013299,
    -0.015432,
    -0.014788,
    -0.005435,
    -0.009891,
    -0.017541,
    -0.004377,
    0.001554
};
 
#define FIR_ITU_RX_IRS_NUM 29
double FIR_ITU_RX_IRS[] =
{
    0.012562,
    -0.008807,
    -0.026119,
    -0.012092,
    -0.026479,
    -0.018424,
    -0.038491,
    -0.023865,
    -0.066477,
    -0.007258,
    -0.096165,
    -0.009702,
    -0.136447,
    -0.011532,
    0.941143,
    -0.011532,
    -0.136447,
    -0.009702,
    -0.096165,
    -0.007258,
    -0.066477,
    -0.023865,
    -0.038491,
    -0.018424,
    -0.026479,
    -0.012092,
    -0.026119,
    -0.008807,
    0.012562
};
 
#define FIR_TELECASTER_TX_NUM 29
double FIR_TELECASTER_TX[] =
{
    -0.033925,
    -0.012966,
    0.002133,
    -0.007380,
    -0.032748,
    0.006314,
    -0.050229,
    0.039981,
    -0.093428,
    0.049791,
    -0.102505,
    0.090953,
    -0.115604,
    -0.137524,
    1.166885,
    -0.137524,
    -0.115604,
    0.090953,
    -0.102505,
    0.049791,
    -0.093428,
    0.039981,
    -0.050229,
    0.006314,
    -0.032748,
    -0.007380,
    0.002133,
    -0.012966,
    -0.033925
};
 
#define FIR_TELECASTER_RX_NUM 29
double FIR_TELECASTER_RX[] =
{
    -0.008976,
    -0.056441,
    -0.024475,
    -0.019666,
    -0.048301,
    -0.029223,
    -0.068824,
    -0.021638,
    -0.079281,
    0.016318,
    -0.106304,
    0.055010,
    -0.108572,
    -0.003198,
    1.049007,
    -0.003198,
    -0.108572,
    0.055010,
    -0.106304,
    0.016318,
    -0.079281,
    -0.021638,
    -0.068824,
    -0.029223,
    -0.048301,
    -0.019666,
    -0.024475,
    -0.056441,
    -0.008976
};
 
 
#endif // !defined(AFX_FIRCOEFFICIENTS_H__08C0DCDA_463E_4DF1_80E7_1BC6CE17AF92__INCLUDED_)