From: Fred J. K. <fj...@xs...> - 2005-10-25 18:45:07
|
Hi Joe, Thank you for your reply. You wrote: > Fred Jan Kraan wrote: > >> For the LXP5 editor, I want to disable the Play option in the context >> menu. The Edit..., Send and Store... options can be disabled by >> removing the respective methods from the java file (which also >> changes the behaviour of Play), but this option is not available for >> Play. >> The problem with Play is that it implicitly also does a sendPatch >> which isn't always desirable. The behaviour is defined in >> BankEditorFrame and PatchEditorFrame (playSelectedPatch method) with >> no obvious way to control it. > > > Since I'm 90% done with adding the ability to make a printout of the > patches in a bank, I'm becoming familiar with how the dynamic menu > enabling/disabling works. So, I can probably take care of this for you. > > Which do you prefer, do you want to disable Play altogether, or do you > want a way to Play without calling sendPatch? Whatever would fit best in the JSynthLib design. It could be I do not use JSynthLib correctly, but not all items I want to handle are playable. So an option to disable the Play function just like Send and Store... seems most useful. For me in the current situation this will do ok. My current project, the Lexicon LXP-5, is a effect device (delay/reverb/pitch). So Play is not very useful. The current implementation however, can change the contents of the bank. > > - Joe Greetings & thank you, Fred Jan Kraan |