source: buchla-68k/orig/lib/INCLUDE/PTOFTAB.H@ a838f5b

Last change on this file since a838f5b was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago

Imported original source code.

  • Property mode set to 100755
File size: 12.9 KB
RevLine 
[3ae31e9]1/* Pitch to Frequency */
2
3short ptoftab[] = {
4
5 0x0060, /* 0: 0.03561 0 0.00000 */
6 0x0060, /* 1: 0.03696 64 0.05333 */
7 0x0060, /* 2: 0.03835 128 0.10667 */
8 0x0060, /* 3: 0.03979 192 0.16000 */
9 0x0080, /* 4: 0.04129 256 0.21333 */
10 0x0080, /* 5: 0.04284 320 0.26667 */
11 0x0080, /* 6: 0.04446 384 0.32000 */
12 0x0080, /* 7: 0.04613 448 0.37333 */
13 0x0080, /* 8: 0.04787 512 0.42667 */
14 0x0080, /* 9: 0.04967 576 0.48000 */
15 0x00A0, /* 10: 0.05154 640 0.53333 */
16 0x00A0, /* 11: 0.05348 704 0.58667 */
17 0x00A0, /* 12: 0.05550 768 0.64000 */
18 0x00A0, /* 13: 0.05759 832 0.69333 */
19 0x00A0, /* 14: 0.05976 896 0.74667 */
20 0x00C0, /* 15: 0.06201 960 0.80000 */
21 0x00C0, /* 16: 0.06434 1024 0.85333 */
22 0x00C0, /* 17: 0.06677 1088 0.90667 */
23 0x00C0, /* 18: 0.06928 1152 0.96000 */
24 0x00E0, /* 19: 0.07189 1216 1.01333 */
25 0x00E0, /* 20: 0.07460 1280 1.06667 */
26 0x00E0, /* 21: 0.07741 1344 1.12000 */
27 0x0100, /* 22: 0.08032 1408 1.17333 */
28 0x0100, /* 23: 0.08335 1472 1.22667 */
29 0x0100, /* 24: 0.08649 1536 1.28000 */
30 0x0100, /* 25: 0.08974 1600 1.33333 */
31 0x0120, /* 26: 0.09312 1664 1.38667 */
32 0x0120, /* 27: 0.09663 1728 1.44000 */
33 0x0140, /* 28: 0.10027 1792 1.49333 */
34 0x0140, /* 29: 0.10404 1856 1.54667 */
35 0x0140, /* 30: 0.10796 1920 1.60000 */
36 0x0160, /* 31: 0.11203 1984 1.65333 */
37 0x0160, /* 32: 0.11625 2048 1.70667 */
38 0x0180, /* 33: 0.12062 2112 1.76000 */
39 0x0180, /* 34: 0.12517 2176 1.81333 */
40 0x0180, /* 35: 0.12988 2240 1.86667 */
41 0x01A0, /* 36: 0.13477 2304 1.92000 */
42 0x01A0, /* 37: 0.13985 2368 1.97333 */
43 0x01C0, /* 38: 0.14511 2432 2.02667 */
44 0x01E0, /* 39: 0.15058 2496 2.08000 */
45 0x01E0, /* 40: 0.15625 2560 2.13333 */
46 0x0200, /* 41: 0.16213 2624 2.18667 */
47 0x0200, /* 42: 0.16824 2688 2.24000 */
48 0x0220, /* 43: 0.17458 2752 2.29333 */
49 0x0240, /* 44: 0.18115 2816 2.34667 */
50/*
51
52*/
53 0x0240, /* 45: 0.18797 2880 2.40000 */
54 0x0260, /* 46: 0.19505 2944 2.45333 */
55 0x0280, /* 47: 0.20240 3008 2.50667 */
56 0x02A0, /* 48: 0.21002 3072 2.56000 */
57 0x02A0, /* 49: 0.21793 3136 2.61333 */
58 0x02C0, /* 50: 0.22614 3200 2.66667 */
59 0x02E0, /* 51: 0.23465 3264 2.72000 */
60 0x0300, /* 52: 0.24349 3328 2.77333 */
61 0x0320, /* 53: 0.25266 3392 2.82667 */
62 0x0340, /* 54: 0.26217 3456 2.88000 */
63 0x0360, /* 55: 0.27205 3520 2.93333 */
64 0x0380, /* 56: 0.28229 3584 2.98667 */
65 0x03A0, /* 57: 0.29292 3648 3.04000 */
66 0x03C0, /* 58: 0.30395 3712 3.09333 */
67 0x03E0, /* 59: 0.31540 3776 3.14667 */
68 0x0400, /* 60: 0.32728 3840 3.20000 */
69 0x0420, /* 61: 0.33960 3904 3.25333 */
70 0x0460, /* 62: 0.35239 3968 3.30667 */
71 0x0480, /* 63: 0.36567 4032 3.36000 */
72 0x04A0, /* 64: 0.37944 4096 3.41333 */
73 0x04E0, /* 65: 0.39373 4160 3.46667 */
74 0x0500, /* 66: 0.40855 4224 3.52000 */
75 0x0540, /* 67: 0.42394 4288 3.57333 */
76 0x0560, /* 68: 0.43990 4352 3.62667 */
77 0x05A0, /* 69: 0.45647 4416 3.68000 */
78 0x05E0, /* 70: 0.47366 4480 3.73333 */
79 0x0620, /* 71: 0.49150 4544 3.78667 */
80 0x0660, /* 72: 0.51001 4608 3.84000 */
81 0x0680, /* 73: 0.52922 4672 3.89333 */
82 0x06C0, /* 74: 0.54915 4736 3.94667 */
83 0x0700, /* 75: 0.56983 4800 4.00000 */
84 0x0760, /* 76: 0.59129 4864 4.05333 */
85 0x07A0, /* 77: 0.61355 4928 4.10667 */
86 0x07E0, /* 78: 0.63666 4992 4.16000 */
87 0x0840, /* 79: 0.66064 5056 4.21333 */
88 0x0880, /* 80: 0.68552 5120 4.26667 */
89 0x08E0, /* 81: 0.71133 5184 4.32000 */
90 0x0920, /* 82: 0.73812 5248 4.37333 */
91 0x0980, /* 83: 0.76592 5312 4.42667 */
92 0x09E0, /* 84: 0.79476 5376 4.48000 */
93 0x0A40, /* 85: 0.82469 5440 4.53333 */
94 0x0AA0, /* 86: 0.85575 5504 4.58667 */
95 0x0B00, /* 87: 0.88798 5568 4.64000 */
96 0x0B80, /* 88: 0.92142 5632 4.69333 */
97 0x0BE0, /* 89: 0.95612 5696 4.74667 */
98 0x0C60, /* 90: 0.99213 5760 4.80000 */
99 0x0CC0, /* 91: 1.02949 5824 4.85333 */
100 0x0D40, /* 92: 1.06826 5888 4.90667 */
101/*
102
103*/
104 0x0DC0, /* 93: 1.10849 5952 4.96000 */
105 0x0E60, /* 94: 1.15023 6016 5.01333 */
106 0x0EE0, /* 95: 1.19355 6080 5.06667 */
107 0x0F60, /* 96: 1.23850 6144 5.12000 */
108 0x1000, /* 97: 1.28514 6208 5.17333 */
109 0x10A0, /* 98: 1.33354 6272 5.22667 */
110 0x1140, /* 99: 1.38376 6336 5.28000 */
111 0x11E0, /* 100: 1.43587 6400 5.33333 */
112 0x1280, /* 101: 1.48995 6464 5.38667 */
113 0x1340, /* 102: 1.54606 6528 5.44000 */
114 0x1400, /* 103: 1.60428 6592 5.49333 */
115 0x14C0, /* 104: 1.66470 6656 5.54667 */
116 0x1580, /* 105: 1.72739 6720 5.60000 */
117 0x1660, /* 106: 1.79244 6784 5.65333 */
118 0x1720, /* 107: 1.85995 6848 5.70667 */
119 0x1800, /* 108: 1.92999 6912 5.76000 */
120 0x1900, /* 109: 2.00267 6976 5.81333 */
121 0x19E0, /* 110: 2.07809 7040 5.86667 */
122 0x1AE0, /* 111: 2.15636 7104 5.92000 */
123 0x1BE0, /* 112: 2.23756 7168 5.97333 */
124 0x1D00, /* 113: 2.32183 7232 6.02667 */
125 0x1E00, /* 114: 2.40927 7296 6.08000 */
126 0x1F40, /* 115: 2.50000 7360 6.13333 */
127 0x2060, /* 116: 2.59415 7424 6.18667 */
128 0x21A0, /* 117: 2.69184 7488 6.24000 */
129 0x22E0, /* 118: 2.79322 7552 6.29333 */
130 0x2420, /* 119: 2.89841 7616 6.34667 */
131 0x2580, /* 120: 3.00756 7680 6.40000 */
132 0x2700, /* 121: 3.12083 7744 6.45333 */
133 0x2860, /* 122: 3.23836 7808 6.50667 */
134 0x2A00, /* 123: 3.36031 7872 6.56000 */
135 0x2B80, /* 124: 3.48686 7936 6.61333 */
136 0x2D20, /* 125: 3.61817 8000 6.66667 */
137 0x2EE0, /* 126: 3.75443 8064 6.72000 */
138 0x30A0, /* 127: 3.89582 8128 6.77333 */
139 0x3280, /* 128: 4.04254 8192 6.82667 */
140 0x3460, /* 129: 4.19478 8256 6.88000 */
141 0x3660, /* 130: 4.35275 8320 6.93333 */
142 0x3860, /* 131: 4.51668 8384 6.98667 */
143 0x3A80, /* 132: 4.68677 8448 7.04000 */
144 0x3CC0, /* 133: 4.86327 8512 7.09333 */
145 0x3F00, /* 134: 5.04642 8576 7.14667 */
146 0x4160, /* 135: 5.23647 8640 7.20000 */
147 0x43E0, /* 136: 5.43367 8704 7.25333 */
148 0x4660, /* 137: 5.63830 8768 7.30667 */
149 0x4920, /* 138: 5.85064 8832 7.36000 */
150 0x4BE0, /* 139: 6.07097 8896 7.41333 */
151 0x4EA0, /* 140: 6.29961 8960 7.46667 */
152/*
153
154*/
155 0x51A0, /* 141: 6.53685 9024 7.52000 */
156 0x54C0, /* 142: 6.78302 9088 7.57333 */
157 0x57E0, /* 143: 7.03847 9152 7.62667 */
158 0x5B40, /* 144: 7.30353 9216 7.68000 */
159 0x5EA0, /* 145: 7.57858 9280 7.73333 */
160 0x6240, /* 146: 7.86399 9344 7.78667 */
161 0x6600, /* 147: 8.16014 9408 7.84000 */
162 0x69C0, /* 148: 8.46745 9472 7.89333 */
163 0x6DC0, /* 149: 8.78633 9536 7.94667 */
164 0x71E0, /* 150: 9.11722 9600 8.00000 */
165 0x7640, /* 151: 9.46058 9664 8.05333 */
166 0x7AA0, /* 152: 9.81686 9728 8.10667 */
167 0x7D00, /* 153: 10.18656 9792 8.16000 */
168 0x7D00, /* 154: 10.57018 9856 8.21333 */
169 0x7D00, /* 155: 10.96825 9920 8.26667 */
170 0x7D00, /* 156: 11.38131 9984 8.32000 */
171 0x7D00, /* 157: 11.80993 10048 8.37333 */
172 0x7D00, /* 158: 12.25468 10112 8.42667 */
173 0x7D00, /* 159: 12.71619 10176 8.48000 */
174 0x7D00, /* 160: 13.19508 10240 8.53333 */
175 0x7D00, /* 161: 13.69200 10304 8.58667 */
176 0x7D00, /* 162: 14.20764 10368 8.64000 */
177 0x7D00, /* 163: 14.74269 10432 8.69333 */
178 0x7D00, /* 164: 15.29790 10496 8.74667 */
179 0x7D00, /* 165: 15.87401 10560 8.80000 */
180 0x7D00, /* 166: 16.47182 10624 8.85333 */
181 0x7D00, /* 167: 17.09214 10688 8.90667 */
182 0x7D00, /* 168: 17.73583 10752 8.96000 */
183 0x7D00, /* 169: 18.40375 10816 9.01333 */
184 0x7D00, /* 170: 19.09683 10880 9.06667 */
185 0x7D00, /* 171: 19.81601 10944 9.12000 */
186 0x7D00, /* 172: 20.00000 11008 9.13333 */
187 0x7D00, /* 173: 20.00000 11072 9.13333 */
188 0x7D00, /* 174: 20.00000 11136 9.13333 */
189 0x7D00, /* 175: 20.00000 11200 9.13333 */
190 0x7D00, /* 176: 20.00000 11264 9.13333 */
191 0x7D00, /* 177: 20.00000 11328 9.13333 */
192 0x7D00, /* 178: 20.00000 11392 9.13333 */
193 0x7D00, /* 179: 20.00000 11456 9.13333 */
194 0x7D00, /* 180: 20.00000 11520 9.13333 */
195 0x7D00, /* 181: 20.00000 11584 9.13333 */
196 0x7D00, /* 182: 20.00000 11648 9.13333 */
197 0x7D00, /* 183: 20.00000 11712 9.13333 */
198 0x7D00, /* 184: 20.00000 11776 9.13333 */
199 0x7D00, /* 185: 20.00000 11840 9.13333 */
200 0x7D00, /* 186: 20.00000 11904 9.13333 */
201 0x7D00, /* 187: 20.00000 11968 9.13333 */
202 0x7D00, /* 188: 20.00000 12032 9.13333 */
203/*
204
205*/
206 0x7D00, /* 189: 20.00000 12096 9.13333 */
207 0x7D00, /* 190: 20.00000 12160 9.13333 */
208 0x7D00, /* 191: 20.00000 12224 9.13333 */
209 0x7D00, /* 192: 20.00000 12288 9.13333 */
210 0x7D00, /* 193: 20.00000 12352 9.13333 */
211 0x7D00, /* 194: 20.00000 12416 9.13333 */
212 0x7D00, /* 195: 20.00000 12480 9.13333 */
213 0x7D00, /* 196: 20.00000 12544 9.13333 */
214 0x7D00, /* 197: 20.00000 12608 9.13333 */
215 0x7D00, /* 198: 20.00000 12672 9.13333 */
216 0x7D00, /* 199: 20.00000 12736 9.13333 */
217 0x7D00, /* 200: 20.00000 12800 9.13333 */
218 0x7D00, /* 201: 20.00000 12864 9.13333 */
219 0x7D00, /* 202: 20.00000 12928 9.13333 */
220 0x7D00, /* 203: 20.00000 12992 9.13333 */
221 0x7D00, /* 204: 20.00000 13056 9.13333 */
222 0x7D00, /* 205: 20.00000 13120 9.13333 */
223 0x7D00, /* 206: 20.00000 13184 9.13333 */
224 0x7D00, /* 207: 20.00000 13248 9.13333 */
225 0x7D00, /* 208: 20.00000 13312 9.13333 */
226 0x7D00, /* 209: 20.00000 13376 9.13333 */
227 0x7D00, /* 210: 20.00000 13440 9.13333 */
228 0x7D00, /* 211: 20.00000 13504 9.13333 */
229 0x7D00, /* 212: 20.00000 13568 9.13333 */
230 0x7D00, /* 213: 20.00000 13632 9.13333 */
231 0x7D00, /* 214: 20.00000 13696 9.13333 */
232 0x7D00, /* 215: 20.00000 13760 9.13333 */
233 0x7D00, /* 216: 20.00000 13824 9.13333 */
234 0x7D00, /* 217: 20.00000 13888 9.13333 */
235 0x7D00, /* 218: 20.00000 13952 9.13333 */
236 0x7D00, /* 219: 20.00000 14016 9.13333 */
237 0x7D00, /* 220: 20.00000 14080 9.13333 */
238 0x7D00, /* 221: 20.00000 14144 9.13333 */
239 0x7D00, /* 222: 20.00000 14208 9.13333 */
240 0x7D00, /* 223: 20.00000 14272 9.13333 */
241 0x7D00, /* 224: 20.00000 14336 9.13333 */
242 0x7D00, /* 225: 20.00000 14400 9.13333 */
243 0x7D00, /* 226: 20.00000 14464 9.13333 */
244 0x7D00, /* 227: 20.00000 14528 9.13333 */
245 0x7D00, /* 228: 20.00000 14592 9.13333 */
246 0x7D00, /* 229: 20.00000 14656 9.13333 */
247 0x7D00, /* 230: 20.00000 14720 9.13333 */
248 0x7D00, /* 231: 20.00000 14784 9.13333 */
249 0x7D00, /* 232: 20.00000 14848 9.13333 */
250 0x7D00, /* 233: 20.00000 14912 9.13333 */
251 0x7D00, /* 234: 20.00000 14976 9.13333 */
252 0x7D00, /* 235: 20.00000 15040 9.13333 */
253 0x7D00, /* 236: 20.00000 15104 9.13333 */
254/*
255
256*/
257 0x7D00, /* 237: 20.00000 15168 9.13333 */
258 0x7D00, /* 238: 20.00000 15232 9.13333 */
259 0x7D00, /* 239: 20.00000 15296 9.13333 */
260 0x7D00, /* 240: 20.00000 15360 9.13333 */
261 0x7D00, /* 241: 20.00000 15424 9.13333 */
262 0x7D00, /* 242: 20.00000 15488 9.13333 */
263 0x7D00, /* 243: 20.00000 15552 9.13333 */
264 0x7D00, /* 244: 20.00000 15616 9.13333 */
265 0x7D00, /* 245: 20.00000 15680 9.13333 */
266 0x7D00, /* 246: 20.00000 15744 9.13333 */
267 0x7D00, /* 247: 20.00000 15808 9.13333 */
268 0x7D00, /* 248: 20.00000 15872 9.13333 */
269 0x7D00, /* 249: 20.00000 15936 9.13333 */
270 0x7D00, /* 250: 20.00000 16000 9.13333 */
271 0x7D00, /* 251: 20.00000 16064 9.13333 */
272 0x7D00, /* 252: 20.00000 16128 9.13333 */
273 0x7D00, /* 253: 20.00000 16192 9.13333 */
274 0x7D00, /* 254: 20.00000 16256 9.13333 */
275 0x7D00 /* 255: 20.00000 16320 9.13333 */
276};
Note: See TracBrowser for help on using the repository browser.