Mercurial > repos > blastem
comparison psg.c @ 522:6a14c5a95648
Adjust PSG and YM-2612 volume to be closer to the real console
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 11 Feb 2014 12:52:28 -0800 |
parents | b7b7a1cab44a |
children | 9a5dc22297f2 |
comparison
equal
deleted
inserted
replaced
521:7565ec2ac652 | 522:6a14c5a95648 |
---|---|
72 } | 72 } |
73 } | 73 } |
74 } | 74 } |
75 } | 75 } |
76 | 76 |
77 #define PSG_VOL_DIV 6 | 77 #define PSG_VOL_DIV 14 |
78 | 78 |
79 //table shamelessly swiped from PSG doc from smspower.org | 79 //table shamelessly swiped from PSG doc from smspower.org |
80 int16_t volume_table[16] = { | 80 int16_t volume_table[16] = { |
81 32767/PSG_VOL_DIV, 26028/PSG_VOL_DIV, 20675/PSG_VOL_DIV, 16422/PSG_VOL_DIV, 13045/PSG_VOL_DIV, 10362/PSG_VOL_DIV, | 81 32767/PSG_VOL_DIV, 26028/PSG_VOL_DIV, 20675/PSG_VOL_DIV, 16422/PSG_VOL_DIV, 13045/PSG_VOL_DIV, 10362/PSG_VOL_DIV, |
82 8231/PSG_VOL_DIV, 6568/PSG_VOL_DIV, 5193/PSG_VOL_DIV, 4125/PSG_VOL_DIV, 3277/PSG_VOL_DIV, 2603/PSG_VOL_DIV, | 82 8231/PSG_VOL_DIV, 6568/PSG_VOL_DIV, 5193/PSG_VOL_DIV, 4125/PSG_VOL_DIV, 3277/PSG_VOL_DIV, 2603/PSG_VOL_DIV, |