Analog value

In LittleBigPlanet, analog values are variable signals that carry a percentage value anywhere between negative infinity and positive infinity. By contrast, digital values can only be equal to -1, 0, or 1.

Representation
Analog signals in LittleBigPlanet can be measured through various means. Since batteries output an analog signal, the easiest way to check the value is by tweaking the battery to see how much it outputs.

Another way to check an analog signal's value is by wiring it up to a sequencer set to '''positional. '''This will place a line on the sequencer's circuit board. For example, if the analog signal was 50%, the playback line would remain exactly in the center of the circuit board.

To measure signals greater than 100% or less than -100%, you will need to use a signal probe. Enigma_0123 has built a signal probe available in their advanced memorizer level that you can use to display the approximate value of the signal.

According to rtm223's LBP logic blog on LittleBigCentral, "[every] device actually outputs 2 signal types simultaneously...which we shall call the "analogue" and "digital" components of the signal. Each of the signal types you see in tweak menus [are] merely an interpretation of one of these, eg. “speed”, “strength” and “brightness” are interpretations of the analogue component, whilst "directional", "on/off" and "one-shot" are interpretations of the digital component."

Analog Signal Sources
Analog signals can come from a variety of sources such as,
 * Sensors
 * Player sensors
 * Score sensors
 * Projectile sensors
 * Tag sensors
 * Player input
 * Analog stick
 * Controller tilt
 * Move controller
 * Outputs
 * Batteries
 * Timers
 * Counter

Analog Signals and Distance
For sensors, a common analog output is a representation of distance. For example, a player sensor will detect the player's distance from the sensor and output it in analog. If the player was to get closer to the sensor, the signal would become stronger (closer to 100%) so long as the sensor isn't inverted.

A simple application of this would be to wire a player sensor to a light set to ''dimmer. ''When the player approaches the sensor, the light will get brighter.

Analog Signals Relative To Maximum Value
Another kind of analog output is an output that is relative to the maximum value. This applies to counters and timers in particular. For example, if a 10-step counter has a value of 5, it will output a 50% analog signal.

Analog Signal Processing
Logic gates, like AND, OR, XOR, and NOT can all transmit analog signals. As a more advanced feature, they also can act as samplers, which store that information for later use.

The NOT gate can also invert an analog signal.

Direction combiners and Direction splitters can be used to perform mathematical operations on analog signals. According to rtm223, "The Combiner works out as a simple subtraction device and output is equal to the difference between the two inputs...The splitter is pretty simple – if the input is negative it outputs the magnitude of the signal through the negative output, if the signal is positive then it outputs the magnitude through the positive output."

Values Greater Than 100% and Less Than -100%
In LittleBigPlanet 2 and LittleBigPlanet PS Vita, there are ways to get analog values out of the normal range of -100% and 100%. This can be done by way of an OR gate set to add inputs, or an AND gate set to ''multiply inputs. ''The values do not have a known limit, easily reaching millions of percent if desired.

Handling Large and Small Values
When utilizing large values, it can be helpful to use sampling. After sending a signal to an inverted NOT gate (which just acts as a passthrough, not as an inverter), the NOT gate can be wired to itself to preserve the signal so long as the microchip it sits on remains turned on.

Large Input Effects
When used with lights, large signal inputs can cause light sources to nullify existing light sources in a radial area. The higher the percentage, the wider the area of light that is nullified. When using smaller values like 200% and 300%, a 'halo' effect is created around the light source.

When used on timers, sequencers, and other devices with speed scale settings, these signals will cause them to increase in speed. For example, a 10 second timer with a 200% speed scale input will complete its cycle in 5 seconds.

Extremely Large Values
According to Engima_0123's level on advanced memorizer logic, very high analog signals can be best interpreted as approximations, not exact values. The practical uses of these extremely high values are so limited that precision is most likely not necessary. Enigma in his level provides a signal probe that allows one to read the approximate value of one of these signals up to a certain point.

Problems With Large (and Small) Analog Values
The NOT gate may not properly invert a large or very small analog signal. OR gates in LittleBigPlanet Vita also are not able to output values greater than 10%