Myriad Harmony-Assistant & MyOrgan ou Hauptwerk-1 Chapter 5
Version française
Let us configure MyOrgan
Although you can act on the virtual organ by clicking on the various buttons with your mouse, the control of MyOrgan is done mainly by Midi messages.
 
Let us speak a little about the Midi

 
 Midi Messages sent by harmony-assistant (or another software:/ midi device) make  possible to change the registration of each manual. We need for that for several Midi channels. A channel by manual plus a registration channel.
 
The choice of the channels
This choice is arbitrary, but I recommend to everyone to adopt the following adjustments which are most widespread.
Channel 2 receives the notes intended for the pedals (or sometimes for Great).
Channel 1 is reserved for the Great (or sometimes for the pedals).
Channels 3 and 4 are allotted indifferently to the Positiv or the Swell.
Channel 5 could be allotted to the manual Bombards, but you will usually hold it for another thing. Bombards, rather rare keyboard will work with channel 6 or 7.
 
 
 
In MyOrgan, the last line of the “Audio” menu is named “Settings”. By choosing this entry of the menu, one opens a window of adjustments to two pages.
 
Let us start with the first page: DEVICES.
Midi inputs. Notch the same entries as for Midiyoke.
Audio output peripheral , choose that which gives best result, in the possibility where several audio outputs are available.
Enhancements (improvements): notch all the boxes.
Setting up the Devices
Second page: Midi Messages
Undoubtedly most important adjustments. They are not crucial for the operation of Myorgan, but they must match with those of Harmony-assistant. Consequently, regard my arbitrary choices as values to be respected imperatively.
 
Previous program: channel 5, prg 2:  is used to regress the sequence of registration.
Next program: channel 5, prg 3: is used to advance the sequence of registration.
Enclosures: they are the expressive boxes of a manual. The channel corresponds to the midi channel of manual, the following  data is n°4, which means  “foot controller” a choice which I made because it seems logical.
Manuals: the keyboards (pedals included). Must always receive messages of notes (notes on / note off) in a separate midi channel.
Stop changes: independent drive of the stops; channel 5
Memory set: possibility of operating by remote control the mode "capture".
.
 

Set up of the midi messages

 
Remote control of Myorgan

To select a stop by Midi message
To select remotely, by midi message, the stops of a virtual organ, there are 3 possibilities:
 
1.Pour to activate/release a stop, you can separately send a Midi message to each stop of MyOrgan. Each stop having a personal number for the reception of the messages. Three types of messages are thus possible:

  • A message notes one, with a number of Midi channel reserved for this use, i.e., preferably it will be channel 5. To activate a stop, a note is thus played. To remove it, we transmit the message note-off, by repeating the same note. Action which HA can do easily, but difficult to exploit because HA manages overall the key press and the release of a note (information of duration). Thus for example, to maintain inserted the button “Bourdon 8 '” during 32 bars at 4/4 times, it would be necessary to bind on a special staff 32 whole notes one after the other. With a sequencer which records separately the messages notes on and note-off it is still realizable, with HA that quickly becomes difficult.
  • A message Control-changes. It is a family of messages understood by the Midi controlers Midi, such as volume, panoramic, chorus. This kind of message, even if it is used per HA, is not directly accessible for us. Thus let us give up.
  • A message Program-changes. They are the messages transmitted by the synthesizers and some software like HA, when a keyboard or a track changes instrumental sonority. It is in my opinion a good solution, if one plays  the organ from a Midi keyboard or with a sequencer, but it is rather difficult to realize with HA.
 
The possibilities of assigning an individual order midi to each stop, with three types of different messages available. A solution which is appropriate for the sequencers, but difficult to exploit with HA.   
 
2. Other solution . It consists in memorizing combinations of stops in the memories of each keyboard ("divisionals") or in the "generals" memories. The change of registration is done then by the sending of midi message program-change, always via channel 5. But all the ODF has not such memories .
This solution, quite practical is not currently very compatible with the software Melody and Harmony-Assistant, you would need a rule by button, also we will leave this solution. It will be appropriate however for those who will use a sequencer for reading midifiles and those who will play the organ in live  from a midi keyboard.
 
3. Last solution : to use the “frames”. The frames are sequences of program which store (inside the ODF) the state of all the buttons of the organ “flashé” at a given time. A ODF can store up to 512 frames, what to program all the work of J-S Bach. To pass from a frame to another, two orders only are necessary: PREVIOUS and NEXT (preceding and following).
These orders are Midi messages program-changes, that we will manufacture by means of 2 laws (my script is given the responsability to create and install these laws).
 
2.Autre solution. Elle consiste à mémoriser des combinaisons de jeux dans les mémoires de chaque clavier (divisions) ou dans les mémoires générales. Le changement de registration se fait alors par l'envoi de message midi programme-change, toujours via le canal 5. Mais tous les ODF ne propose pas forcement de telle mémoires de programmation.
Cette solution, bien pratique n'est pas très compatible actuellement avec les logiciels Melody et Harmony-Assistant, il faudrait une loi par bouton, aussi nous la laisserons de coté. Elle conviendra toutefois à ceux qui utiliseront un séquenceur pour lire des midifiles et ceux qui joueront de l'orgue en direct à partir d'un clavier midi.
 
3.Dernière solution : utiliser les « frames ». Les frames sont des séquences de programme qui stockent (à l'intérieur de l'ODF)  l'état de tous les boutons de l'orgue "flashé" à un moment donné. Un ODF peut stocker jusqu'à 512 frames, de quoi programmer toute l'oeuvre de J-S Bach. Pour passer d'une frame à une autre, deux commandes seulement sont nécessaires : PREVIOUS et NEXT (précédent et suivant).
Ces commandes sont des messages Midi program-change, que nous fabriquerons au moyen de 2 lois (mon script se charge de créer et installer ces lois).
 
Associating Midi control to each stop individually

 For the first two methods we have seen, it is thus necessary to associate a number of note (or program) with each button of the organ. This can be done in two ways:

  • By a right click on the button concerned, which reveals a small dialogue box. We have the choice between filling then the "data" box manually  or clicking on “listen for Event” and to send to MyOrgan the information awaited by playing the note that one wishes to associate with this stop. That can be made starting from HA by inserting the note wished on a registration staff beforehand set on channel 5. After, do not forget to remove this note.

  • By editing the text corresponding in the organ definition file. Reserved with the do-it-yourselfers.