REDSTONEPEDIA › Circuits › Pulse shapers

Signal shortener (pulse limiter)

at most 8 ticks (0.4 s) · 8 blocks

However long the input stays on, the output pulse lasts at most 8 ticks (0.4 s).

starts at once · needs an input of at least 2 ticks (0.1 s) · fits in 3×2×3

at most 8 ticks (0.4 s)Signal shortener3D view loading (or not available in this browser)

Every size 24

The best design for each size: pick one to see it.

sizeblocksnumbers
2 ticks (0.1 s)2 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 6 ticks (0.3 s)
4 ticks (0.2 s)8 blocksstarts at once · needs an input of at least 2 ticks (0.1 s)
6 ticks (0.3 s)8 blocksstarts at once · needs an input of at least 2 ticks (0.1 s)
7 ticks (0.35 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
8 ticks (0.4 s) (this page)8 blocksstarts at once · needs an input of at least 2 ticks (0.1 s)
10 ticks (0.5 s)5 blocksstarts after 1 tick (0.05 s) · needs an input of at least 2 ticks (0.1 s)
12 ticks (0.6 s)9 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
14 ticks (0.7 s)9 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
15 ticks (0.75 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
16 ticks (0.8 s)9 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
18 ticks (0.9 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
20 ticks (1 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
22 ticks (1.1 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
23 ticks (1.15 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
24 ticks (1.2 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
26 ticks (1.3 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
28 ticks (1.4 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
30 ticks (1.5 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
31 ticks (1.55 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
34 ticks (1.7 s)17 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
36 ticks (1.8 s)17 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
38 ticks (1.9 s)17 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
127 ticks (6.35 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
511 ticks (25.55 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)

Try it

Hold IN under the view for a long press, tap it for a short one: the box marked OUT turns red while the output is on. Press play under the view to watch a demo on a loop; touch any other control to take over.

How this design does it: The fastest pulse limiter: any input reaches the output in the very same tick (delay 0) and is cut to 8 ticks if it is longer, 8 blocks.

Build it

Download .litematic Download the design as text

The .litematic opens in Litematica (Minecraft 26.3): every block of the design in one region. The text file is the same build written as plain text, block by block.

Blocks used: redstone wire repeater sticky piston stone

Details: how it works, measurements and properties

In depth

However long the input stays on, the output pulse lasts at most L = 8 ticks (0.4 s); it starts 0 ticks (0 s) after the input turns on. (An input shorter than L may come out shorter.) It handles every input pulse of 2 ticks (0.1 s) (the shortest a real input makes) or longer.

Use it to cut a long signal down to a short, fixed pulse.

How to try it

Press play under the view to watch the demo on a loop (the badge reads demo with the step it is on; the same sequence is drawn as a timing diagram below). Touch any control to stop it and try the circuit yourself.

To try it: press and hold the IN button of the bar (or the cell tagged IN) to power that input; a quick tap sends a short 2-tick pulse.

Inputs are tagged in lime; the output is tagged OUT: the redstone lamp in that cell (the view adds it to show the output) lights while the output is on (the output strip by the demo badge shows its last 40 game ticks, 2 seconds). Drag to look around, pinch or scroll to zoom, step one game tick at a time with the step button.

Inputs and output over time

The input follows this schedule (the 3D view's demo plays the same). Lime: an input is on; orange: the output is on (taller = a stronger signal, 1 to 15). Time runs left to right in game ticks (20 ticks = 1 s).

a 30-tick inputa 40-tick inputINOUTticks020406080100120140160180200220240260280300320340360380400420440

Swipe the diagram sideways: the whole sequence lasts 449 ticks (22.45 s).

Step by step (11 lines)
in  2 ticks (0.1 s): +0 for 2
in  3 ticks (0.15 s): +0 for 3
in  4 ticks (0.2 s): +0 for 4
in  5 ticks (0.25 s): +0 for 5
in  6 ticks (0.3 s): +0 for 6
in  8 ticks (0.4 s): +0 for 8
in 10 ticks (0.5 s): +0 for 8
in 15 ticks (0.75 s): +0 for 8
in 20 ticks (1 s): +0 for 8
in 30 ticks (1.5 s): +0 for 8
in 40 ticks (2 s): +0 for 8

Measurements

metricvaluewhat it means
L8 ticks (0.4 s)the length of the output pulse
delay0 ticks (0 s)the time from the input's edge to the start of the output pulse
min-pulse2 ticks (0.1 s) (the shortest a real input makes)the shortest input pulse handled correctly (every longer one works too)

Notes from its designer

The fastest pulse limiter: any input reaches the output in the very same tick (delay 0) and is cut to 8 ticks if it is longer, 8 blocks. The input lights the output at once through two dusts and a stone beside the output; a repeater passes the input to a sticky piston 8 ticks later, which pushes that stone away and cuts the output; when the input turns off, the piston pulls the stone back. Detail: a pushed block conducts nothing from the moment it moves; the repeater's delay sets the length.

Properties

StudyPulse shapers
KindSignal shortener (pulse limiter)
Blocks placed8 (not counting the input levers or buttons and the lamp the view adds)
Box3×2×3 (18 blocks of space)
Made of (the blocks that change state)redstone wire, repeater, sticky piston, stone
Inputs / outputsIN (repeater) / OUT
Flagsinstant (reacts in the same tick)
Design filepulse-limiter-instant-L8

The design file

on GitHub

Design file (19 lines)
# Signal shortener: at most 8 ticks (0.4 s) · 8 blocks
# https://vjeux.github.io/redstonepedia/circuits/pulse/pulse-limiter-instant-L8.html
name: pulse-limiter-instant-L8
circuit: pulse-limiter
origin: 0 0 0
port input: 0 0 0
port output: 3 0 1
palette:
  D minecraft:redstone_wire[east=none,north=none,power=0,south=none,west=none]
  K minecraft:stone
  P minecraft:sticky_piston[extended=false,facing=south]
  R minecraft:repeater[delay=4,facing=west,locked=false,powered=false]
  G minecraft:stone
layer -1:
  .G.
  GG.
layer 0:
  .RP
  DDK