The continued adventures of Yamaha PSR-220... Previously, our intrepid hero had created the program entries but not the percussion key entries or control entries... ;-)
After some study, I now have a bigger RGD file but also questions, questions, questions. The Yamaha manual indicates that there are two different sets of MIDI instruments in the PSR-220: Panel and GM (General MIDI). Using a wee Python program I wrote, I looped through program change commands and played a note. When the keyboard is first turned on, the notes lined up with the GM list of instruments. The percussion kit in the GM list is on a separate bank. But, even though sending from the computer to the keyboard uses the GM mappings, playing on the keyboard directly uses the Panel mappings. So I suppose question 0 is "How do I make sense of that?" But if there's no obvious answer, the more important questions are below. The manual offers the following system exclusive command to switch between "Panel Voice" and "GM Voice" 0xF0 0x43 0x76 0x1B [channel] [voice] 0xF7 where `[channel]` is the MIDI channel (0 - 16 ?) and `[voice]` is `00` for **GM Voice** and `01` for **Panel Voice**. So Question 1: Was making two <device> entries, (id="0" / name="...GM...": and id="1" / name="...Panel..." the right thing to do? Like so: <device id="0" name="... (GM Voices)" type="midi"> <bank name="GM" msb="0" lsb="0">...</bank> <keymapping name="Percussion">...</keymapping> <controls>...</controls> </device> <device id="1" name="... (Panel Voices)" type="midi"> <bank name="GM" msb="0" lsb="0">...</bank> <keymapping name="Percussion">...</keymapping> <controls>...</controls> </device> Question 2: Is there somewhere in the RGD file to put the system exclusive message that switches between Panel and GM? And finally, after studying the "Control" stuff, I added a control section to both devices. But Question 3: What do "colourindex" and "ipbposition" do and what are the range of values? I found 18 control entries, but took the coulourindex and ipbposition values from another ,rgd file, and only have five unique colourindex values and 8 ipbposition values. (Six of the 18 controls are actually paired MSB / LSB controls, as that's what I saw done in other .rgd files.) (Actually, I suppose question 4 is "What's a good way to test everything?" But I figure I'll eventually get the hang of that by working through the Rosegarden manual / tutorials, etc.) See attached latest and, hopefully, greatest version.
Yamaha-PSR220-PSR230.rgd
Description: Binary data
_______________________________________________ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user