summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Brian Troha <briantro@users.noreply.github.com>2007-12-23 15:21:00 +0000
committer Brian Troha <briantro@users.noreply.github.com>2007-12-23 15:21:00 +0000
commit975f32f1cca2f49f87f7a4783e84ce87182889f3 (patch)
tree2cf675bf31a68e57375bb1acbdf730970bc83281 /src/emu
parent28e5db00d5e18c937cb9de281656003ef65315b6 (diff)
Changes LFO Frequency table entry 232 from 13.35547 to 14.35547 as per discussions of the list. Adds notes about it and the other error in the manual. IE entry 201 & 202 were the same 3.74490 and 202 has been changed to 3.92 which is "about right"
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/sound/ymf271.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/emu/sound/ymf271.c b/src/emu/sound/ymf271.c
index 204db210961..a5b0fb14c12 100644
--- a/src/emu/sound/ymf271.c
+++ b/src/emu/sound/ymf271.c
@@ -158,6 +158,14 @@ static const double DCTime[] =
11.41, 9.12, 7.60, 6.51, 5.69, 5.69, 5.69, 5.69
};
+/* Notes about the LFO Frequency Table below;
+
+ There appears to be at least 2 errors in the table from the original manual.
+
+ Both 201 & 202 where listed as 3.74490. 202 has be changed to 3.92000 which is "about right"
+ 232 was listed as 13.35547. We use 14.35547 as it apears to be the correct value
+*/
+
static const double LFO_frequency_table[256] =
{
0.00066, 0.00068, 0.00070, 0.00073, 0.00075, 0.00078, 0.00081, 0.00084,
@@ -189,7 +197,7 @@ static const double LFO_frequency_table[256] =
5.38330, 5.55696, 5.74219, 5.94019, 6.15234, 6.38021, 6.62560, 6.89062,
7.17773, 7.48981, 7.83026, 8.20312, 8.61328, 9.06661, 9.57031, 10.13327,
10.76660, 11.11391, 11.48438, 11.88039, 12.30469, 12.76042, 13.25120, 13.78125,
- 13.35547, 14.97962, 15.66051, 16.40625, 17.22656, 18.13322, 19.14062, 20.26654,
+ 14.35547, 14.97962, 15.66051, 16.40625, 17.22656, 18.13322, 19.14062, 20.26654,
21.53320, 22.96875, 24.60938, 26.50240, 28.71094, 31.32102, 34.45312, 38.28125,
43.06641, 49.21875, 57.42188, 68.90625, 86.13281, 114.84375, 172.26562, 344.53125
};