Is there a way to automatically execute a MIDI function when loading a library, for example to select a default bank. To load my library, I use the following code:
(defvar Opus-lib-files nil)
(list (om::om-relative-path '(“sources” “opus”) “midi”)
(mapc #'compile&load Opus-lib-files)
If I introduce a line of code of type (ctrlchg 0 1 1) into my “source/opus/midi” file, I have to evaluate it again so that the message is sent.
Thanks a lot for your help