Logic Gadgets: Signal Manipulator

 

Icon
Name of gadget Signal Manipulator
Section Logic & Processing
Number of Tweak pages 1
Author LadylexUK, QuietlyWrong
Last updated 04 April 2019 [Beta]

Description

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)

  1. Stamp a cube.
  2. Snap an impact sensor and a signal manipulator onto it
  3. Connect “touching” on the impact sensor to the “Signal” input on the signal manipulator.
  4. 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.
  5. Tweak the cube. Nudge glow up to 50%.
  6. Connect Input/Output on the signal manipulator to the input of the glow slider.
  7. Place a puppet.
  8. Enter test mode.
  9. 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 Menus

Tweak Menu 1
  1. Signal
    1a. Input
    2b. Output
  2. Remapper Mode
  3. Smooth Rise
    3a. Input
    3b. Output
  4. Smooth Fall
    4a. Input
    4b. Output
  5. Freeze Output
    5a. Input
    5b. Output
  6. Bypass
  7. Power
  1. Signal
    The signal to be manipulated is input here at 1a. The signal output of 1b. is the resulting signal after any manipulation.
  2. 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”).
  3. 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.
  4. Smooth Fall
    Same as above but affects a decreasing signal so you get a gradual decrease in the signal as it turns off.
  5. Freeze Output
    If you activate this option, the output at 1b will become a continuous unchanging signal as long as Freeze remains activated.
  6. Bypass
    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.
  7. Power
    This is where you turn the gadget on/off
Tweak Menu 1 additional: Custom Remapper
 

  1. Custom Remapper Mode (option 4)
  2. Remap Thresholds
    2a. Input
    2b. Output
  3. Remap Curve
    3a. Input
    3b. Output
  4. Edge Mode
  1. Custom Remapper option selected
  2. 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.
  3. 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
    • Threshold
  4. 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:

    • None
      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.

QW Tips

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!

Useful Tutorials

Beginners guide to the Signal Manipulator

Advertisements

Comments and Feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: