Properly trigger piano sounds

you’re welcome!
The lua script can be copied into the midimachines directory.
Look here for instructions: About the MIDI Machines category