From: Vladimir S. <vla...@gm...> - 2009-10-13 18:21:48
|
What it does for now: - detects LSCP files by extension - checks if detected file has "MAP" string in it, since we will use it if present - imports Banks and Programs (with program names) Where it fails: - you are on your own if bank name for imported Device goes over 16 (which is maximum for rg devices) Left to be done: - import devices - name that devices Specification of MIDI instrument map entry: MAP MIDI_INSTRUMENT [NON_MODAL] <map> <midi_bank> <midi_prog> <engine_name> <filename> <instrument_index> <volume_value> [<instr_load_mode>] [<name>] Brackets [] means that field is not mandatory. For now I read: <midi_bank>, <midi_prog> and [<name>]. If <name> isn't present, I name that instrument "Unnamed instrument". <map> field is what I plan to use for detecting device. Infrastructure for reading name of device is there too, but it is not used yet. Example .lscp file attached too. Vlada P.S. Something wrong is happening with Bank editor... If you import provided .lscp file and without leaving bank editor start clicking and bank list (tree view at left) - patches get shifted in a strange way. I'm not sure if that is my fault. |