|Name of gadget||Signal Manipulator|
|Section||Logic & Processing|
|Number of Tweak pages||1|
|Last updated||04 April 2019 [Beta]|
This gadget allows you to change a signal in a variety of ways. You can alter the range of the signal, you can smooth it and manipulate the edges so that a signal can provide more subtle changes over a period time rather than a sudden alteration. Manipulating a signal can help with fades on lighting, music, colour changes and animation moves.
The “custom remapper” settings even allow you to turn continuous signals into pulses or scale the input range to match a new output range, for example to create “dead zones” for the controller sensor‘s analog sticks and triggers.
Example Tutorial (adapted from Media Molecule)
- Stamp a cube.
- Snap an impact sensor and a signal manipulator onto it
- Connect “touching” on the impact sensor to the “Signal” input on the signal manipulator.
- Tweak the signal manipulator. Nudge both the output smoothing sliders up to 2 seconds. This gives a gradual fade in and out of the signal.
- Tweak the cube. Nudge glow up to 50%.
- Connect Input/Output on the signal manipulator to the input of the glow slider.
- Place a puppet.
- Enter test mode.
- Possess the puppet and jump on and off the cube. Notice the glow fades up and down rather than going on and off straight away.
Tweak Menu 1
The signal to be manipulated is input here at 1a. The signal output of 1b. is the resulting signal after any manipulation.
- Remapper Mode
This is a selection of different manipulations
- Smoothing Only
With this option selected, the gadget will track the input signal over time and will smooth out any changes to that signal according to the Smooth Rise and Smooth Fall settings.
- Pulse On Input On
This will turn a continuous signal into a pulse.
- Invert Input
This will invert the signal (i.e. changing a 0 to a 1) or invert a wave so that the max value and min values are swapped.
- Custom Remapper
This provides a whole load more options that can be used as well as or instead of the output smoothing ones – see the altenative view of the tweak menu and specific explanations below (“Tweak Menu 1 additional”).
- Smoothing Only
- Smooth Rise
This softens the edges of an increasing signal so that you can have a gradual increase in the signal as it turns on. You could use this for things such as volume fades, light fades etc. Select longer times for a greater smoothing effect.
- Smooth Fall
Same as above but affects a decreasing signal so you get a gradual decrease in the signal as it turns off.
- Freeze Output
If you activate this option, the output at 1b will become a continuous unchanging signal as long as Freeze remains activated.
Bypass switches allow the signal to pass straight through without any manipulation. This is mainly useful when you input a fat wire with multiple signals, at which point you will be able to see separate “bypass” options for each signal and selectively manipulate some but not others.
This is where you turn the gadget on/off
Tweak Menu 1 additional: Custom Remapper
- Custom Remapper option selected
- Remap Thresholds
In the graphical window, you can see an example waveform represting the input on the left and the output on the right. Both the input and output have a pair of horizontal bars that can be used to define the active input range and the corresponding output range of the manipulation.
By changing the input minimum and maximum and the corresponding output minimum and maximum you can alter the scale of the signal. For example you could have an input set to fall between 0 and 1 but an output set to fall between 90 and 100 and the signal manipulator will perform the necessary remapping conversion in accordance with the Remap Curve and Edge Mode settings.
There is also an “Invert Output” toggle on the output side of the graph (visible when selected or when the imp is hovering over it) that behaves exactly like the corresponding Remapper Mode in addition to any other changes made here.
- Remap Curve
This provides a number of options as to how the input will be remapped to the output, as follows:
- No Shaping
- Flip Values Below Minimum
- Clamp Values
- Ease In
- Ease Out
- Ease In and Out
- Edge Mode
These options (other than None) change the input signal into an all-or-nothing output – the output from the signal manipulator is forced to be either the output minimum or the output maximum. This behaviour can be subdivided into “Pulse” and “Toggle” options. Pulse options send a single short pulse of “maximum” output when triggered then revert immediately back to the “minimum” output value. The Toggle options simply switch between these two states when triggered:
Edge Mode does not affect the signal.
- Pulse At ON
While outputting a continuous output minimum signal, sends a single output maximum pulse when the input signal ascends to its maximum.
- Pulse At OFF
Sends a single pulse when the input signal descends to its minimum.
- Pulse At ON or OFF
Sends a single pulse when the input signal either ascends to its maximum or descends to its minimum.
- Toggle Output at ON
While outputting a continuous signal, switches between the min and max output values (or vice versa) when the input signal ascends to its maximum.
- Toggle Output at OFF
Switches between min and max when the input signal descends to its minimum value.
- Toggle Output at ON or OFF
Switches between min and max when the input signal ascends to its maximum value or descends to its minimum value.
When using the Custom Remapper options, the graphs really help to show what the effect of your changes will be so it is worth playing with the settings and observing the outcomes to gain a better understanding of what each option does. Don’t worry that the sample images show a triangular wave going up and down regularly – this just helps demonstrate the various settings best and does not represent what your own inputs and outputs will look like!