First time here? Check out the FAQ!

Is it possible to have a MultiPlexableSTGC that is also grabbable like a TriggeredSTGC?

0 votes
A convenient way to control something manually for a while, then let it be controlled algorithmically?
asked Feb 22, 2016 in Capytalk & Smalltalk by cristian-vogel (Master) (8,410 points)

1 Answer

0 votes
Imagine a MultiplexableSoundToGlobalController with !SlaveFader in the GeneratedEvent field.

Then in the Value field, you could use an expression of the form:

!Live * !MasterFader + ((1 - !Live) * <yourAlgorithmForGeneratingValues>)

That would give you a toggle named !Live to switch between live override and your algorithm.  Then you would put this into a Replicator to get multiple !SlaveFaders to control.  !MasterFader would be a SpecialValue of the Replicator so there would be only one.
answered Feb 22, 2016 by ssc (Savant) (127,000 points)