diff options
author | Robert Göffringmann | 2003-06-17 12:34:56 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-06-17 12:34:56 +0000 |
commit | 7f20bdfeba0dda8c6c47b5df162759ac786119c2 (patch) | |
tree | e56587337cbeb36994a5d34a20d2a77a7893acfa /sky | |
parent | 81b7b265b9c5a9106de73424cde7cf8bf6ece2c4 (diff) | |
download | scummvm-rg350-7f20bdfeba0dda8c6c47b5df162759ac786119c2.tar.gz scummvm-rg350-7f20bdfeba0dda8c6c47b5df162759ac786119c2.tar.bz2 scummvm-rg350-7f20bdfeba0dda8c6c47b5df162759ac786119c2.zip |
removed send(0) command.
svn-id: r8530
Diffstat (limited to 'sky')
-rw-r--r-- | sky/music/gmchannel.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/sky/music/gmchannel.cpp b/sky/music/gmchannel.cpp index 5db1256388..c321a00163 100644 --- a/sky/music/gmchannel.cpp +++ b/sky/music/gmchannel.cpp @@ -23,7 +23,7 @@ // the MT32 is a lot more sensitive to velocities than most general midi devices, // so we need to boost them a little -uint8 SkyGmChannel::_veloTab[128] = { +/*uint8 SkyGmChannel::_veloTab[128] = { 0x00, 0x30, 0x31, 0x31, 0x32, 0x33, 0x33, 0x34, 0x34, 0x35, 0x36, 0x36, 0x37, 0x38, 0x38, 0x39, 0x39, 0x3A, 0x3B, 0x3B, 0x3C, 0x3D, 0x3D, 0x3E, 0x3E, 0x3F, 0x40, 0x40, 0x41, 0x42, 0x42, 0x43, 0x43, 0x44, 0x45, 0x45, 0x46, 0x47, 0x47, @@ -33,7 +33,21 @@ uint8 SkyGmChannel::_veloTab[128] = { 0x60, 0x61, 0x61, 0x62, 0x63, 0x63, 0x64, 0x64, 0x65, 0x66, 0x66, 0x67, 0x68, 0x68, 0x69, 0x69, 0x6A, 0x6B, 0x6B, 0x6C, 0x6C, 0x6D, 0x6E, 0x6E, 0x6F, 0x70, 0x70, 0x71, 0x71, 0x72, 0x73, 0x73, 0x74, 0x75, 0x75, 0x76, 0x76, 0x77, 0x78, -0x78, 0x79, 0x7A, 0x7A, 0x7B, 0x7B, 0x7C, 0x7D, 0x7D, 0x7E, 0x7F }; +0x78, 0x79, 0x7A, 0x7A, 0x7B, 0x7B, 0x7C, 0x7D, 0x7D, 0x7E, 0x7F };*/ +uint8 SkyGmChannel::_veloTab[128] = { +0x00, 0x40, 0x41, 0x41, 0x42, 0x42, 0x43, 0x43, 0x44, 0x44, +0x45, 0x45, 0x46, 0x46, 0x47, 0x47, 0x48, 0x48, 0x49, 0x49, +0x4A, 0x4A, 0x4B, 0x4B, 0x4C, 0x4C, 0x4D, 0x4D, 0x4E, 0x4E, +0x4F, 0x4F, 0x50, 0x50, 0x51, 0x51, 0x52, 0x52, 0x53, 0x53, +0x54, 0x54, 0x55, 0x55, 0x56, 0x56, 0x57, 0x57, 0x58, 0x58, +0x59, 0x59, 0x5A, 0x5A, 0x5B, 0x5B, 0x5C, 0x5C, 0x5D, 0x5D, +0x5E, 0x5E, 0x5F, 0x5F, 0x60, 0x60, 0x61, 0x61, 0x62, 0x62, +0x63, 0x63, 0x64, 0x64, 0x65, 0x65, 0x66, 0x66, 0x67, 0x67, +0x68, 0x68, 0x69, 0x69, 0x6A, 0x6A, 0x6B, 0x6B, 0x6C, 0x6C, +0x6D, 0x6D, 0x6E, 0x6E, 0x6F, 0x6F, 0x70, 0x70, 0x71, 0x71, +0x72, 0x72, 0x73, 0x73, 0x74, 0x74, 0x75, 0x75, 0x76, 0x76, +0x77, 0x77, 0x78, 0x78, 0x79, 0x79, 0x7A, 0x7A, 0x7B, 0x7B, +0x7C, 0x7C, 0x7D, 0x7D, 0x7E, 0x7E, 0x7F, 0x7F }; SkyGmChannel::SkyGmChannel(uint8 *pMusicData, uint16 startOfData, MidiDriver *pMidiDrv, byte *pInstMap) { @@ -56,7 +70,6 @@ void SkyGmChannel::updateVolume(uint16 pVolume) { void SkyGmChannel::stopNote(void) { _midiDrv->send((0xB0 | _channelData.midiChannelNumber) | 0x7B00 | 0 | 0x79000000); - _midiDrv->send(0); } int32 SkyGmChannel::getNextEventTime(void) |