More MT-32 SysEx tweaks
svn-id: r8217
This commit is contained in:
parent
2ef36da819
commit
11e188c520
1 changed files with 4 additions and 3 deletions
|
@ -419,11 +419,12 @@ void Instrument_Roland::saveOrLoad (Serializer *s) {
|
||||||
|
|
||||||
void Instrument_Roland::send (MidiChannel *mc) {
|
void Instrument_Roland::send (MidiChannel *mc) {
|
||||||
if (_native_mt32) {
|
if (_native_mt32) {
|
||||||
// _instrument.device_id = mc->getNumber();
|
_instrument.device_id = mc->getNumber();
|
||||||
_instrument.device_id = 0x10;
|
// _instrument.device_id = 0x10;
|
||||||
|
|
||||||
// Remap instrument to appropriate address space.
|
// Remap instrument to appropriate address space.
|
||||||
int address = 0x010000 + mc->getNumber() * 246;
|
// int address = 0x010000 + mc->getNumber() * 246;
|
||||||
|
int address = 0x008000;
|
||||||
_instrument.address[0] = (address >> 14) & 0x7F;
|
_instrument.address[0] = (address >> 14) & 0x7F;
|
||||||
_instrument.address[1] = (address >> 7) & 0x7F;
|
_instrument.address[1] = (address >> 7) & 0x7F;
|
||||||
_instrument.address[2] = (address ) & 0x7F;
|
_instrument.address[2] = (address ) & 0x7F;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue