Hi Timi,
A good try, but not quite there I'm afraid, although you are getting the idea! Don't be discouraged. It always takes a little work to make these files, but once you've done it put your details inside the file and make it widely available, then your name will live forever as the maker of the PS5500 instrument file! FAME! ;-)
First of all try using the following file
http://www.4shared.com/file/MDDmrXqq/PSR540.html as the basis for your work.
First of all you'll have noticed in the ins file you've looked at, that anything on a line after a ";" (a semi-colon) is a comment. I suggest you alter the attached file to include your own details for the SP5500. And rename the file as you wish.
Next, in the first block under the section name ". Patch Names" titled "[Yamaha PSR-540 Panel 112]" are the complete set of GM standard instruments. These, if you look through the list you have prepared from the MIDI-OX listings, map to all the instruments starting with "0" e.g. "0=012 Acoustic Grand Piano" and "0=014 Bright Piano 1" and so on.
They are selected using "Bank select MSB = 0" then the number at the beginning of the name in the PSR540 list. e.g. 0 = grand piano, 1 = Bright Piano and so on.
So the two commands "Bank Select MSB=0" then "Program Change=0" will select the Acoustic Grand Piano.
You could leave this first section exactly as it is and it will work fine for you I think as a quick browse through your list shows me the 128 standard MIDI instruments. Just change the name in square brackets to e.g. [Thomann/Medelli SP5500 GM Instrument Bank].
Now for the second bank of instruments.
Where, in the PSR540 ins file it says "[Yamaha PSR-540 Panel 113]" replace the name with e.g. "[PS5500 Bank 8]".
These will all be instruments that start with "8=" in your listings. This means that they are selected using a "bank select MSB =8" followed by the instrument number from the GM table. So, acoustic grand piano will be the first entry and will be "0=Stereo Grand Piano / W", next will be "1=Bright Piano 1 / W", then "3=Honky-Tonk 1 / W" and so on.
So "Bank Select MSB=8" then "Program Change=3" will select "Honky-Tonk 1 / W".
So, if you go through your MIDI-OX listing extracting all the different bank numbers, I see 0, 8, 10 ,11, 13, 14, 15 and so on, you'll build up the "Banks" of sounds. i.e. those selected by a "Bank select MSB=10" then "11" etc. This should be relatively easy to do with a little, macro I'd have thought.
Don't do the drums yet, they work in a slightly different way, by note number, so we'll do them when we've got the main instrument list done. As you say, you'll be able to use a lot from existing files, and the PSR540 one will give you a good idea how it works.
Again don't worry about RPNs (Registered Parameter Numbers) or NRPNs (Non-Registered Parameter Numbers) yet. It's too much for me to explain all at once.
You'll find the MIDI standard name of the controllers in table 3 of the second MMA link I sent earlier, and the list of RPNs in table 3a.
You'll find the name of the controllers that the SP5500 responds to in Appendix 6 of your manual listed under "Control Change". If they have a "0" next to them they are recognised, or sent, and if an "x" then they are not recognised or sent.
Hope this helps?
More to come.
Best regards,
SysExJohn.
P.S. I've just noticed I keep getting my "PS" and "SP" transposed. ;-)
Make allowances please for the creeping on of decrepitude!