@lobit please test WIP: Yamaha TX7 preset. It is a working version of the existing TX7 preset. This one, however, reflects settings of the device MIDI channel when composing outgoing parameter change SysEx messages.
The requesting and parsing patches still needs doing.
I think you should do following to get it working with your TX816:
- Load this preset to 8 preset slots in Electra
- Name the slots as Voice 1 … Voice 8
- Change the Midi Channel for each preset (voice) according to your TX816 settings
That should be about it. The MIDI channel can be changed by hitting the [Edit Device] button:
For anybody who is interested… This has been done by adding a Lua function to the SysEx template:
[
"43",
{
"type": "function",
"name": "getChannelByte"
},
"00",
"7C",
{
"type": "value",
"rules": [
{
"parameterNumber": 124,
"bitWidth": 7,
"byteBitPosition": 0
}
]
}
]
And adding the getChannelByte
Lua function to the Lua script extension of the preset:
-- returns a byte that TX7 uses to identify the MIDI channel
function getChannelByte(device)
return (0x10 + (device:getChannel() - 1))
end
The value calculated in the body of the function is specific to the DX7/TX7 SysEx format. But I hope you get the idea…