VRC7: Updated audio data to match values recently dumped from hardware

This commit is contained in:
Sour 2019-03-27 20:23:22 -04:00
parent cf40b967f4
commit c241eb56c4

View File

@ -53,22 +53,23 @@ namespace Vrc7Opll
class OpllEmulator : public Snapshotable
{
private:
//Updated based on NukeYKT's data: https://siliconpr0n.org/archive/doku.php?id=vendor:yamaha:opl2#vrc7_instrument_rom_dump
const unsigned char default_inst[15][8] = {
{0x03, 0x21, 0x05, 0x06, 0xB8, 0x82, 0x42, 0x27},
{0x13, 0x41, 0x13, 0x0D, 0xD8, 0xD6, 0x23, 0x12},
{0x31, 0x11, 0x08, 0x08, 0xFA, 0x9A, 0x22, 0x02},
{0x31, 0x61, 0x18, 0x07, 0x78, 0x64, 0x30, 0x27},
{0x22, 0x21, 0x1E, 0x06, 0xF0, 0x76, 0x08, 0x28},
{0x02, 0x01, 0x06, 0x00, 0xF0, 0xF2, 0x03, 0xF5},
{0x21, 0x61, 0x1D, 0x07, 0x82, 0x81, 0x16, 0x07},
{0x23, 0x21, 0x1A, 0x17, 0xCF, 0x72, 0x25, 0x17},
{0x15, 0x11, 0x25, 0x00, 0x4F, 0x71, 0x00, 0x11},
{0x85, 0x01, 0x12, 0x0F, 0x99, 0xA2, 0x40, 0x02},
{0x07, 0xC1, 0x69, 0x07, 0xF3, 0xF5, 0xA7, 0x12},
{0x71, 0x23, 0x0D, 0x06, 0x66, 0x75, 0x23, 0x16},
{0x01, 0x02, 0xD3, 0x05, 0xA3, 0x92, 0xF7, 0x52},
{0x61, 0x63, 0x0C, 0x00, 0x94, 0xAF, 0x34, 0x06},
{0x21, 0x62, 0x0D, 0x00, 0xB1, 0xA0, 0x54, 0x17}
{0x03, 0x21, 0x05, 0x06, 0xE8, 0x81, 0x42, 0x27},
{0x13, 0x41, 0x14, 0x0D, 0xD8, 0xF6, 0x23, 0x12},
{0x11, 0x11, 0x08, 0x08, 0xFA, 0xB2, 0x20, 0x12},
{0x31, 0x61, 0x0C, 0x07, 0xA8, 0x64, 0x61, 0x27},
{0x32, 0x21, 0x1E, 0x06, 0xE1, 0x76, 0x01, 0x28},
{0x02, 0x01, 0x06, 0x00, 0xA3, 0xE2, 0xF4, 0xF4},
{0x21, 0x61, 0x1D, 0x07, 0x82, 0x81, 0x11, 0x07},
{0x23, 0x21, 0x22, 0x17, 0xA2, 0x72, 0x01, 0x17},
{0x35, 0x11, 0x25, 0x00, 0x40, 0x73, 0x72, 0x01},
{0xB5, 0x01, 0x0F, 0x0F, 0xA8, 0xA5, 0x51, 0x02},
{0x17, 0xC1, 0x24, 0x07, 0xF8, 0xF8, 0x22, 0x12},
{0x71, 0x23, 0x11, 0x06, 0x65, 0x74, 0x18, 0x16},
{0x01, 0x02, 0xD3, 0x05, 0xC9, 0x95, 0x03, 0x02},
{0x61, 0x63, 0x0C, 0x00, 0x94, 0xC0, 0x33, 0xF6},
{0x21, 0x72, 0x0D, 0x00, 0xC1, 0xD5, 0x56, 0x06}
};
uint32_t adr = 0;