aboutsummaryrefslogtreecommitdiffstats
path: root/src/uxn/devices/apu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uxn/devices/apu.c')
-rw-r--r--src/uxn/devices/apu.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/uxn/devices/apu.c b/src/uxn/devices/apu.c
index 96b9058..15eed20 100644
--- a/src/uxn/devices/apu.c
+++ b/src/uxn/devices/apu.c
@@ -17,6 +17,24 @@ static u32 pitch_table_44100[] = {
17 200547, 212472, 225107, 238492, 252674, 267699, 283617, 300482, 17 200547, 212472, 225107, 238492, 252674, 267699, 283617, 300482,
18}; 18};
19 19
20static u32 pitch_table_variable[] = {
21 33484, 35475, 37585, 39820, 42188, 44696, 47354, 50170,
22 53153, 56314, 59663, 63210, 66969, 70951, 75170, 79640,
23 84376, 89393, 94709, 100341, 106307, 112628, 119326, 126421,
24 133939, 141903, 150341, 159281, 168752, 178787, 189418, 200682,
25 212615, 225257, 238652, 252843, 267878, 283807, 300683, 318562,
26 337505, 357574, 378837, 401364, 425230, 450515, 477305, 505687,
27 535756, 567614, 601366, 637125, 675011, 715149, 757674, 802728,
28 850460, 901031, 954610, 1011374, 1071513, 1135229, 1202733, 1274251,
29 1350022, 1430299, 1515349, 1605456, 1700921, 1802063, 1909220, 2022748,
30 2143027, 2270458, 2405466, 2548503, 2700045, 2860598, 3030698, 3210912,
31 3401843, 3604127, 3818440, 4045496, 4286054, 4540916, 4810933, 5097006,
32 5400090, 5721196, 6061396, 6421825, 6803687, 7208255, 7636880, 8090993,
33 8572108, 9081832, 9621866, 10194012, 10800180, 11442392, 12122792, 12843651,
34 13607374, 14416511, 15273761, 16181986, 17144217, 18163665, 19243733, 20388025,
35 21600360, 22884784, 24245585, 25687302, 27214749, 28833022, 30547522, 32363973,
36};
37
20// 38//
21// REG_TM0D frequency buffer size 39// REG_TM0D frequency buffer size
22// | | | 40// | | |