summaryrefslogtreecommitdiff
path: root/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'os.h')
-rw-r--r--os.h82
1 files changed, 32 insertions, 50 deletions
diff --git a/os.h b/os.h
index 14b4713..261f664 100644
--- a/os.h
+++ b/os.h
@@ -1,53 +1,35 @@
1/* Generate using fir1(47,1/2) in Octave */ 1/* Generate using fir1(47,1/2) in Octave */
2 2
3static const float fdmdv_os_filter[]= { 3static const float fdmdv_os_filter[] = {
4 -0.0008215855034550382, 4 -0.0008215855034550382, -0.0007833023901802921, 0.001075563790768233,
5 -0.0007833023901802921, 5 0.001199092367787555, -0.001765309502928316, -0.002055372115328064,
6 0.001075563790768233, 6 0.002986877604154257, 0.003462567920638414, -0.004856570111126334,
7 0.001199092367787555, 7 -0.005563143845031497, 0.007533613299748122, 0.008563932468880897,
8 -0.001765309502928316, 8 -0.01126857129039911, -0.01280782411693687, 0.01651443896361847,
9 -0.002055372115328064, 9 0.01894875110322284, -0.02421604439474981, -0.02845107338464062,
10 0.002986877604154257, 10 0.03672973563400258, 0.04542046150312214, -0.06189165826716491,
11 0.003462567920638414, 11 -0.08721876380763803, 0.1496157094199961, 0.4497962274137046,
12 -0.004856570111126334, 12 0.4497962274137046, 0.1496157094199961, -0.08721876380763803,
13 -0.005563143845031497, 13 -0.0618916582671649, 0.04542046150312216, 0.03672973563400257,
14 0.007533613299748122, 14 -0.02845107338464062, -0.02421604439474984, 0.01894875110322284,
15 0.008563932468880897, 15 0.01651443896361848, -0.01280782411693687, -0.0112685712903991,
16 -0.01126857129039911, 16 0.008563932468880899, 0.007533613299748123, -0.005563143845031501,
17 -0.01280782411693687, 17 -0.004856570111126346, 0.003462567920638419, 0.002986877604154259,
18 0.01651443896361847, 18 -0.002055372115328063, -0.001765309502928318, 0.001199092367787557,
19 0.01894875110322284, 19 0.001075563790768233, -0.0007833023901802925, -0.0008215855034550383};
20 -0.02421604439474981,
21 -0.02845107338464062,
22 0.03672973563400258,
23 0.04542046150312214,
24 -0.06189165826716491,
25 -0.08721876380763803,
26 0.1496157094199961,
27 0.4497962274137046,
28 0.4497962274137046,
29 0.1496157094199961,
30 -0.08721876380763803,
31 -0.0618916582671649,
32 0.04542046150312216,
33 0.03672973563400257,
34 -0.02845107338464062,
35 -0.02421604439474984,
36 0.01894875110322284,
37 0.01651443896361848,
38 -0.01280782411693687,
39 -0.0112685712903991,
40 0.008563932468880899,
41 0.007533613299748123,
42 -0.005563143845031501,
43 -0.004856570111126346,
44 0.003462567920638419,
45 0.002986877604154259,
46 -0.002055372115328063,
47 -0.001765309502928318,
48 0.001199092367787557,
49 0.001075563790768233,
50 -0.0007833023901802925,
51 -0.0008215855034550383
52};
53 20
21/* Generate using fir1(47,1/6) in Octave */
22
23static const float fdmdv_os_filter48[] = {
24 -3.55606818e-04, -8.98615286e-04, -1.40119781e-03, -1.71713852e-03,
25 -1.56471179e-03, -6.28128960e-04, 1.24522223e-03, 3.83138676e-03,
26 6.41309478e-03, 7.85893186e-03, 6.93514929e-03, 2.79361991e-03,
27 -4.51051400e-03, -1.36671853e-02, -2.21034939e-02, -2.64084653e-02,
28 -2.31425052e-02, -9.84218694e-03, 1.40648474e-02, 4.67316298e-02,
29 8.39615986e-02, 1.19925275e-01, 1.48381174e-01, 1.64097819e-01,
30 1.64097819e-01, 1.48381174e-01, 1.19925275e-01, 8.39615986e-02,
31 4.67316298e-02, 1.40648474e-02, -9.84218694e-03, -2.31425052e-02,
32 -2.64084653e-02, -2.21034939e-02, -1.36671853e-02, -4.51051400e-03,
33 2.79361991e-03, 6.93514929e-03, 7.85893186e-03, 6.41309478e-03,
34 3.83138676e-03, 1.24522223e-03, -6.28128960e-04, -1.56471179e-03,
35 -1.71713852e-03, -1.40119781e-03, -8.98615286e-04, -3.55606818e-04};