It is currently Fri Jul 10, 2020 8:22 pm


One Screen Control for Two Functions

Using the CODM to create your own organ definitions, exchange CODM organ definitions, ...
  • Author
  • Message
Offline
User avatar

chr.schmitz

Member

  • Posts: 339
  • Joined: Mon Aug 26, 2013 12:49 am

One Screen Control for Two Functions

PostWed 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
Offline
User avatar

mdyde

Moderator

  • Posts: 12149
  • Joined: Fri Mar 14, 2003 2:19 pm
  • Location: UK

Re: One Screen Control for Two Functions

PostWed 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.
Hauptwerk software designer/developer, Milan Digital Audio.
Offline
User avatar

chr.schmitz

Member

  • Posts: 339
  • Joined: Mon Aug 26, 2013 12:49 am

Re: One Screen Control for Two Functions

PostWed 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
Offline
User avatar

mdyde

Moderator

  • Posts: 12149
  • Joined: Fri Mar 14, 2003 2:19 pm
  • Location: UK

Re: One Screen Control for Two Functions

PostWed Jan 03, 2018 2:58 pm

Thanks, Chris.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
Offline
User avatar

mdyde

Moderator

  • Posts: 12149
  • Joined: Fri Mar 14, 2003 2:19 pm
  • Location: UK

Re: One Screen Control for Two Functions

PostThu 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.
Hauptwerk software designer/developer, Milan Digital Audio.
Offline
User avatar

chr.schmitz

Member

  • Posts: 339
  • Joined: Mon Aug 26, 2013 12:49 am

Re: One Screen Control for Two Functions

PostThu Jan 04, 2018 5:55 am

Great! Thank you!

Chris

Return to Custom Organ Design Module (CODM)

Who is online

Users browsing this forum: No registered users and 3 guests