comparison psg.c @ 410:41c079dbee73

Use a slightly more sane PSG volume divider. Stil seems too loud, need to check the real hardware.
author Mike Pavone <pavone@retrodev.com>
date Wed, 19 Jun 2013 00:24:59 -0700
parents 1c8d74f2ab0b
children 140af5509ce7
comparison
equal deleted inserted replaced
409:c1bddeadc566 410:41c079dbee73
58 } 58 }
59 } 59 }
60 } 60 }
61 } 61 }
62 62
63 #define PSG_VOL_DIV 4 63 #define PSG_VOL_DIV 6
64 64
65 //table shamelessly swiped from PSG doc from smspower.org 65 //table shamelessly swiped from PSG doc from smspower.org
66 int16_t volume_table[16] = { 66 int16_t volume_table[16] = {
67 32767/PSG_VOL_DIV, 26028/PSG_VOL_DIV, 20675/PSG_VOL_DIV, 16422/PSG_VOL_DIV, 13045/PSG_VOL_DIV, 10362/PSG_VOL_DIV, 67 32767/PSG_VOL_DIV, 26028/PSG_VOL_DIV, 20675/PSG_VOL_DIV, 16422/PSG_VOL_DIV, 13045/PSG_VOL_DIV, 10362/PSG_VOL_DIV,
68 8231/PSG_VOL_DIV, 6568/PSG_VOL_DIV, 5193/PSG_VOL_DIV, 4125/PSG_VOL_DIV, 3277/PSG_VOL_DIV, 2603/PSG_VOL_DIV, 68 8231/PSG_VOL_DIV, 6568/PSG_VOL_DIV, 5193/PSG_VOL_DIV, 4125/PSG_VOL_DIV, 3277/PSG_VOL_DIV, 2603/PSG_VOL_DIV,