OK... exhaustive research through terrible documentation tells me the following.

Part of the formula Domenico gave me is incorrect. Namely this part (LS Bank = MSB * 27 + LSB).

The formula is LS Bank = MSB X 128 + LSB
The value of 128 is a constant value that is based midi standards.

Also, Linux Sampler has automatic detection of MSB only, LSB only or full MSB+LSB so for the most part it doesn't matter which method you use, be it a straight number or a calculation based on the formula. However to avoid a possible problem in the future with a library that needs to use both MSB and LSB values, I will modify my LSCP Gen program to let people enter in the MSB and LSB values as normal and have LSCP Gen to all the calculations for you. This is something Linux Sampler itself can't do.

Regards
James