REDSTONEPEDIA › Circuits › Pulse shapers
Signal stretcher (pulse extender)
at least 10 ticks (0.5 s) · 5 blocks
Even the shortest input pulse comes out at least 10 ticks (0.5 s) long.
Footsteps and other noises don't set off its sculk sensor: the items in its chest set the one sound it listens to.
starts after 1 tick (0.05 s) · needs an input of at least 2 ticks (0.1 s) · made of calibrated sculk sensor, comparator, note block · fits in 2×2×4
Every size 21
The best design for each size: pick one to see it.
| size | blocks | numbers |
|---|---|---|
| 4 ticks (0.2 s) | 2 blocks | starts after 4 ticks (0.2 s) · needs an input of at least 2 ticks (0.1 s) |
| 6 ticks (0.3 s) | 2 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 2 ticks (0.1 s) |
| 8 ticks (0.4 s) | 2 blocks | starts after 8 ticks (0.4 s) · needs an input of at least 2 ticks (0.1 s) |
| 10 ticks (0.5 s) (this page) | 5 blocks | starts after 1 tick (0.05 s) · needs an input of at least 2 ticks (0.1 s) |
| 12 ticks (0.6 s) | 17 blocks | starts after 8 ticks (0.4 s) · needs an input of at least 4 ticks (0.2 s) |
| 14 ticks (0.7 s) | 17 blocks | starts after 10 ticks (0.5 s) · needs an input of at least 4 ticks (0.2 s) |
| 16 ticks (0.8 s) | 13 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 18 ticks (0.9 s) | 17 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 20 ticks (1 s) | 20 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 22 ticks (1.1 s) | 20 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 24 ticks (1.2 s) | 13 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 26 ticks (1.3 s) | 20 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 28 ticks (1.4 s) | 20 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 30 ticks (1.5 s) | 20 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 32 ticks (1.6 s) | 13 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 36 ticks (1.8 s) | 24 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 38 ticks (1.9 s) | 24 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 40 ticks (2 s) | 13 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 64 ticks (3.2 s) | 13 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 128 ticks (6.4 s) | 13 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 s) |
| 256 ticks (12.8 s) | 13 blocks | starts after 6 ticks (0.3 s) · needs an input of at least 4 ticks (0.2 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: Stretches any input, even the shortest input (2 ticks), into exactly 10 ticks (half a second), and footsteps or dropped items nearby never set it off: the input makes a note block play, a calibrated sculk sensor (a sound sensor) hears it and switches on for exactly 10 ticks however short or long the input was, and a comparator reading a chest tunes the sensor to that one kind of sound.
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.
Comes loaded with 1,111 cobblestone in its containers: the download includes them; building it by hand, put them in first.
Blocks used: calibrated sculk sensor chest comparator note block stone
Details: how it works, measurements and properties
In depth
Any input pulse, even a 1-tick one, gives an output pulse of at least L = 10 ticks (0.5 s), starting 1 tick (0.05 s) after the input turns on. It handles every input pulse of 2 ticks (0.1 s) (the shortest a real input makes) or longer.
Use it to make a brief signal (an observer's 2-tick pulse) last long enough for a slower part.
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).
Swipe the diagram sideways: the whole sequence lasts 648 ticks (32.4 s).
Step by step (12 lines)
in 2 ticks (0.1 s): +1 for 10 in 3 ticks (0.15 s): +1 for 10 in 4 ticks (0.2 s): +1 for 10 in 5 ticks (0.25 s): +1 for 10 in 6 ticks (0.3 s): +1 for 10 in 8 ticks (0.4 s): +1 for 10 in 10 ticks (0.5 s): +1 for 10 in 15 ticks (0.75 s): +1 for 10 in 20 ticks (1 s): +1 for 10 in 30 ticks (1.5 s): +1 for 10 in 40 ticks (2 s): +1 for 10 in 60 ticks (3 s): +1 for 10
Measurements
| metric | value | what it means |
|---|---|---|
| L | 10 ticks (0.5 s) | the length of the output pulse |
| delay | 1 tick (0.05 s) | the time from the input's edge to the start of the output pulse |
| min-pulse | 2 ticks (0.1 s) (the shortest a real input makes) | the shortest input pulse handled correctly (every longer one works too) |
| vibration-proof | yes |
Notes from its designer
Stretches any input, even the shortest input (2 ticks), into exactly 10 ticks (half a second), and footsteps or dropped items nearby never set it off: the input makes a note block play, a calibrated sculk sensor (a sound sensor) hears it and switches on for exactly 10 ticks however short or long the input was, and a comparator reading a chest tunes the sensor to that one kind of sound. To build it: fill the chest with 1111 items that stack to 64 (17 full stacks and 23 more), so the comparator gives 10 (the number shown over the chest in the 3D view). Good to know: the note block sounds on every input, and that sound is a vibration that sets off other sculk sensors within 16 blocks; the sensor still hears other machines' sounds of the same kind within 16 blocks (another note block, a door or trapdoor opening, a piston pushing, a lever or button switched on); "vibration-proof" means proof against players walking, jumping, dropping, placing and breaking blocks around it. Detail: the note block plays only when it becomes powered (note_block_play, frequency 10); a calibrated sensor with a back signal accepts that frequency only (the lever's block_deactivate is 9, footsteps 1, items landing 2, blocks broken or placed 12 and 13).
Properties
| Study | Pulse shapers |
|---|---|
| Kind | Signal stretcher (pulse extender) |
| Blocks placed | 5 (not counting the input levers or buttons and the lamp the view adds) |
| Box | 2×2×4 (16 blocks of space) |
| Made of (the blocks that change state) | calibrated sculk sensor, comparator, note block |
| Inputs / outputs | IN (repeater) / OUT |
| The same build is also | at most 10 ticks (0.5 s) · 5 blocks, 10-tick pulse · 5 blocks (the same blocks, listed as another kind) |
| Design file | pulse-extender-sculk-filter-L10 |
The design file
Design file (24 lines)
# Signal stretcher: at least 10 ticks (0.5 s) · 5 blocks
# https://vjeux.github.io/redstonepedia/circuits/pulse/pulse-extender-sculk-filter-L10.html
name: pulse-extender-sculk-filter-L10
circuit: pulse-extender
origin: 0 0 0
port input: 0 0 0
port output: 3 0 1
palette:
N minecraft:note_block[instrument=harp,note=0,powered=false]
K minecraft:calibrated_sculk_sensor[facing=north,power=0,sculk_sensor_phase=inactive,waterlogged=false]
C minecraft:comparator[facing=south,mode=compare,powered=false]
H minecraft:chest[facing=north,type=single,waterlogged=false]
S minecraft:stone
layer -1:
...
...
..S
...
layer 0:
.N.
..K
..C
..H
nbt: 2 0 3 {Items:[{Slot:0b,id:"minecraft:cobblestone",count:64},{Slot:1b,id:"minecraft:cobblestone",count:64},{Slot:2b,id:"minecraft:cobblestone",count:64},{Slot:3b,id:"minecraft:cobblestone",count:64},{Slot:4b,id:"minecraft:cobblestone",count:64},{Slot:5b,id:"minecraft:cobblestone",count:64},{Slot:6b,id:"minecraft:cobblestone",count:64},{Slot:7b,id:"minecraft:cobblestone",count:64},{Slot:8b,id:"minecraft:cobblestone",count:64},{Slot:9b,id:"minecraft:cobblestone",count:64},{Slot:10b,id:"minecraft:cobblestone",count:64},{Slot:11b,id:"minecraft:cobblestone",count:64},{Slot:12b,id:"minecraft:cobblestone",count:64},{Slot:13b,id:"minecraft:cobblestone",count:64},{Slot:14b,id:"minecraft:cobblestone",count:64},{Slot:15b,id:"minecraft:cobblestone",count:64},{Slot:16b,id:"minecraft:cobblestone",count:64},{Slot:17b,id:"minecraft:cobblestone",count:23}]}