Search:
Submit Search


One Screen Control for Two Functions

Using the CODM to create your own organ definitions, exchange CODM organ definitions, ...

One Screen Control for Two Functions

Postby chr.schmitz » Wed Jan 03, 2018 10:53 am

I have created a division with a tremulant. Some ranks have corresponding tremmed ranks, others require modeling. The tremmed ranks are enabled using a <stop> entry (together with a stoprank.StopCodeToSwitchToAlternateRank entry); the modeled tremmed ranks are enabled with some additional code in the <rank> table.

I solve the problem currently using a single screen control for both, tremulant <stop> and <tremulant>.

This technique works nicely on the screen, but if you MIDI-learn this control, HW finds only one of the two controls.

Is there a way to solve this issue in a CODM?

Best, Chris
User avatar
chr.schmitz
Member
 
Posts: 289
Joined: Mon Aug 26, 2013 12:49 am

Re: One Screen Control for Two Functions

Postby mdyde » Wed Jan 03, 2018 1:04 pm

Hello Chris,

It's possible to use Stop.StopCodeFromWhichToCopyState and Tremulant.TremulantCodeFromWhichToCopyState to copy states from objects of the same type (and to set AccessibleForMIDIInputAndOutput=N for either), but it isn't possible within the CODM to copy states between Stop and Tremulant objects. I don't think there's any way you could achieve exactly what you're hoping for within the CODM, I'm afraid.

However, the user could potentially auto-detect both the virtual stop switch and the virtual tremulant switch to the same MIDI switch/piston.
Best regards,
Martin.

[Please use email or the Contact page if you need to contact us privately, rather than private forum messages.]

Image
User avatar
mdyde
Moderator
 
Posts: 10644
Joined: Fri Mar 14, 2003 2:19 pm
Location: UK

Re: One Screen Control for Two Functions

Postby chr.schmitz » Wed Jan 03, 2018 2:30 pm

Martin,

thank you very much for the quick response! I had already tried to use the two ...CodeFromWhichToCopyState parameters and had realized that they do not allow to copy states from different types.

I had also found out that the parameter stoprank.StopCodeToSwitchToAlternateRank requires a stop code and does not work with a tremulant code.

However, your workaround does the job nicely. Again, thanks a lot!

Best, Chris
User avatar
chr.schmitz
Member
 
Posts: 289
Joined: Mon Aug 26, 2013 12:49 am

Re: One Screen Control for Two Functions

Postby mdyde » Wed Jan 03, 2018 2:58 pm

Thanks, Chris.
Best regards,
Martin.

[Please use email or the Contact page if you need to contact us privately, rather than private forum messages.]

Image
User avatar
mdyde
Moderator
 
Posts: 10644
Joined: Fri Mar 14, 2003 2:19 pm
Location: UK

Re: One Screen Control for Two Functions

Postby mdyde » Thu Jan 04, 2018 5:53 am

P.S. I've also logged as an enhancement request that it could be useful if Hauptwerk allowed states to be copied between any of the three object types (instead of just objects of the same type).
Best regards,
Martin.

[Please use email or the Contact page if you need to contact us privately, rather than private forum messages.]

Image
User avatar
mdyde
Moderator
 
Posts: 10644
Joined: Fri Mar 14, 2003 2:19 pm
Location: UK

Re: One Screen Control for Two Functions

Postby chr.schmitz » Thu Jan 04, 2018 5:55 am

Great! Thank you!

Chris
User avatar
chr.schmitz
Member
 
Posts: 289
Joined: Mon Aug 26, 2013 12:49 am


Return to Custom Organ Design Module (CODM)

Who is online

Users browsing this forum: No registered users and 2 guests