This will permit you to trigger whatever sounds you wish with joystick buttons.
I wanted to help others in the future, who may wish to accomplish in their cockpits, what I have. Therefore, I put together a short step by step instruction document in PDF format.
See attached,
Michael Lehkamp
Sound Scripting in LUA.pdf