I wish to unify a rank of external (physical) pipes to play from Hauptwerk along with virtual voices. To do this, I have copied "ExampleCustomOrgan1.CustomOrgan.Hauptwerk.xml". My first modification was to add a single external rank by borrowing an ExternalRankID from the Violin Diapason while leaving the V.D.'s rank definition in the file. The last point was suggested in your communications with Marco_M on August 20, 2010. The MIDINoteNumberOfFirstPipe was left as 36. I created stop and stoprank blocks by duplicating and adapting the corresponding blocks for the Violin Diapason. The modified file worked after some MIDI connections were made inside Hauptwerk. I was able to watch the messages moving to a MIDI device using "MIDI Monitor". A single MIDI NoteOn and NoteOff pair was generated for each key pressed on the virtual console.
Next, I tried to unify the rank of pipes by creating another external rank block and giving it the ExternalRankID of 7 as appropriated from the Clear Flute 4'. In this case the MIDINoteNumberOfFirstPipe was set to 49 to give the effect of playing the rank an octave higher, i.e., the rank was now unified at 8' and 4' pitches. The stop and stoprank blocks from the Clear Flute 4' were also modified to support this new external rank but the old rank block was left present for the same reason as given in the Marco_M communications above. The new CODM file compiled and executed in Hauptwerk. Unfortunately, it did not generate a MIDI NoteOn or NoteOff message corresponding to an octave above the keyboard note. The stop switch in the virtual console worked, but the "unification" at two pitches did not, i.e., the unison NoteOn was sent but not the octave one.
I want to know if I am asking Hauptwerk to do something it is not supposed to do. If so, at the moment, I don't see how to do unification within Hauptwerk, and I would like to know this before I put in a lot more time trying to do it this way.
Next, I tried to unify the rank of pipes by creating another external rank block and giving it the ExternalRankID of 7 as appropriated from the Clear Flute 4'. In this case the MIDINoteNumberOfFirstPipe was set to 49 to give the effect of playing the rank an octave higher, i.e., the rank was now unified at 8' and 4' pitches. The stop and stoprank blocks from the Clear Flute 4' were also modified to support this new external rank but the old rank block was left present for the same reason as given in the Marco_M communications above. The new CODM file compiled and executed in Hauptwerk. Unfortunately, it did not generate a MIDI NoteOn or NoteOff message corresponding to an octave above the keyboard note. The stop switch in the virtual console worked, but the "unification" at two pitches did not, i.e., the unison NoteOn was sent but not the octave one.
I want to know if I am asking Hauptwerk to do something it is not supposed to do. If so, at the moment, I don't see how to do unification within Hauptwerk, and I would like to know this before I put in a lot more time trying to do it this way.