From d2fe8ce153ac764cf65a1ab4a895d57a150df116 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 27 Apr 2002 15:19:44 +0000 Subject: [PATCH] fixed RT32 mapping (one instrument had been left out) svn-id: r4110 --- sound/imuse.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/sound/imuse.cpp b/sound/imuse.cpp index 73739eeae86..1e5f27741fa 100644 --- a/sound/imuse.cpp +++ b/sound/imuse.cpp @@ -53,15 +53,16 @@ static const byte mt32_to_gmidi[128] = { 12, 107, 111, 77, 78, 78, 76, 121, 47, 117, 127, 115, 118, 116, 118, 94, 115, 9, 55, 124, 123, 125, 126, 127 */ - 0, 1, 0, 2, 4, 4, 5, 3, 16, 17, 18, 16, 16, 19, 20, 21, 6, 6, 6, - 7, 7, 7, 8, 112, 62, 62, 63, 63, 38, 38, 39, 39, 88, 54, 52, 98, - 97,99,14,54, 102, 96, 53, 102, 81, 100, 14, 80, 48, 48, 49, 45, - 41, 40, 42, 42, 43, 46, 45, 24, 25, 28, 27, 104, 32, 32, 34, 33, - 36, 37, 35, 35, 79, 73, 72, 72, 74, 75, 64, 65, 66, 67, 71, 71, - 68, 69, 70, 22, 56, 59, 57, 57, 60, 60, 58, 61, 61, 11, 11, 98, - 14, 9, 14, 13, 12, 107, 107, 77, 78, 78, 76, 76, 47, 117, 127, - 118, 118, 116, 119, 115, 112, 55, 124, 123, 0, 14, 117 +// 0 1 2 3 4 5 6 7 8 9 A B C D E F + 0, 1, 0, 2, 4, 4, 5, 3, 16, 17, 18, 16, 16, 19, 20, 21, // 0x + 6, 6, 6, 7, 7, 7, 8, 112, 62, 62, 63, 63, 38, 38, 39, 39, // 1x + 88, 54, 52, 98, 97, 99, 14, 54, 102, 96, 53, 102, 81, 100, 14, 80, // 2x + 48, 48, 49, 45, 41, 40, 42, 42, 43, 46, 45, 24, 25, 28, 27, 104, // 3x + 32, 32, 34, 33, 36, 37, 35, 35, 79, 73, 72, 72, 74, 75, 64, 65, // 4x + 66, 67, 71, 71, 68, 69, 70, 22, 56, 59, 57, 57, 60, 60, 58, 61, // 5x + 61, 11, 11, 98, 14, 9, 14, 13, 12, 107, 107, 77, 78, 78, 76, 76, // 6x + 47, 117, 127, 118, 118, 116, 115, 119, 115, 112, 55, 124, 123, 0, 14, 117 // 7x };