-
Notifications
You must be signed in to change notification settings - Fork 1
/
mapping.c
56 lines (52 loc) · 2.54 KB
/
mapping.c
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
//mapping distance to frequency
//from distarray.py
// with MINDISTANCE 20 and MAXDISTANCE 350
uint16_t farray[440]={
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,78,78,79,79,80,80,81,82,82,83,84,84,
85,86,87,87,88,89,89,90,91,92,92,93,94,95,96,97,
98,98,99,100,101,102,103,104,104,105,106,107,108,109,110,110,
111,112,113,114,115,117,117,118,119,120,121,122,123,124,125,126,
127,128,129,131,132,133,134,135,136,137,139,140,141,142,143,144,
145,147,148,149,150,152,153,154,156,157,158,159,161,162,163,165,
166,167,169,170,171,173,175,176,177,179,180,181,183,185,186,188,
189,191,192,194,196,197,199,201,202,204,206,208,209,211,213,214,
216,218,220,221,223,225,227,229,230,233,234,236,238,240,242,244,
247,249,251,253,255,257,259,262,264,266,268,270,272,274,277,279,
281,284,286,288,291,294,296,298,301,303,305,308,311,313,316,318,
321,324,326,330,332,335,337,340,343,345,349,351,354,357,360,363,
366,370,373,376,379,382,385,388,392,395,398,401,404,408,411,415,
418,421,425,428,432,435,440,443,447,450,454,458,461,466,469,473,
477,481,485,489,494,498,502,506,510,514,518,523,527,531,535,540,
544,548,554,558,563,567,572,577,581,587,591,596,601,606,611,616,
622,627,632,637,642,647,652,659,664,669,675,680,686,691,698,703,
709,715,721,727,733,740,746,752,758,764,770,776,784,790,797,803,
810,816,823,831,837,844,851,858,865,872,880,887,894,901,909,916,
923,932,939,947,955,963,971,978,988,996,1004,1012,1020,1029,1037,1047,
1055,1064,1072,1081,1090,1098,1109,1118,1127,1136,1145,1155,1164,1175,1184,1194,
1204,1214,1223,1233,1245,1255,1265,1275,1286,1296,1306,1319,1329,1340,1351,1362,
1373,1384,1397,1408,1420,1431,1443,1454,1466,1480,1492,1504,1516,1529,1541,1553,
1568,1580,1593,1606,1619,1632,1645,1661,1674,1688,1702,1716,1730,1743,1760,1774,
1789,1803,1818,1833,1847,1865,1880,1895,1911,1926,1942,1957,1976,1992,2008,2024,
2041,2057,2073,2093,2110,2127,2144,2162,2179,2196,2217,2235,2253,2272,2290,2309,
2327,2349,2367,2385,2404,2422,2441,0
};
//Wobulator Sine
const uint8_t msign[64] = {
0x7f, 0x8b, 0x98, 0xa4,
0xb0, 0xbb, 0xc6, 0xd0,
0xd9, 0xe2, 0xe9, 0xef,
0xf5, 0xf9, 0xfc, 0xfe,
0xff, 0xfe, 0xfc, 0xf9,
0xf5, 0xef, 0xe9, 0xe2,
0xd9, 0xd0, 0xc6, 0xbb,
0xb0, 0xa4, 0x98, 0x8b,
0x7f, 0x73, 0x66, 0x5a,
0x4e, 0x43, 0x38, 0x2e,
0x25, 0x1c, 0x15, 0x0f,
0x09, 0x05, 0x02, 0x00,
0x00, 0x00, 0x02, 0x05,
0x09, 0x0f, 0x15, 0x1c,
0x25, 0x2e, 0x38, 0x43,
0x4e, 0x5a, 0x66, 0x73
};