Hi All, I've just checked in a new version of the Virutal Keyboard. This version allows for custom keyboard map definitions to be create. In CVS I have added a documented example keyboard.map file in the InOut/virtual_keyboard directory. Regarding the latest: -the ability to change Banks has been added, and the program change spinner has been replaced with a dropdown box. The bank box is populated by default with 128 banks (midi 0-127) with names "Bank 1", "Bank 2", etc. The program change box is by default populated with General MIDI instrument names. -with a keyboard.map (supplied via the -M flag, so -Mkeyboard.map instead of -M0), one can define the names of banks and what bank number they correspond to, as well as program names and numbers for those banks (please see keyboard.map file for documentation) -While the default for banks is 0-127 (in MIDI), the support is there for 0-16383 to support the MIDI spec. Bank changes are split into MSB and LSB when sent as controller values to get the 14-bit resolution. If you're programing against raw midi controller values, you can probably ignore the MSB and just use the LSB which will give the 0-127 as most probably won't even use so many banks. Just for reference, bank changes are transmitted as controller changes with controller number 0 for the MSB value and controller number 32 for the LSB value. -the keyboard was completely redone yesterday so that things will be a bit more user friendly; if you are on a channel and change the bank of program, then change channels, when you come back it will return to the bank and channel settings you had before; if you change programs for a bank on a channel, then change banks, then come back, it will return to the program you were on previously (this all had to be redone for the custom mapping as different banks may not have 128 defined programs to show in the UI) I have not done stringent testing of the bank changes, but my simple tests here show that channel and program changes work correctly. I think things are fully working, but will go now to do a little more testing and see if there is any memory leaks. Thanks! steven ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net