Edition 03 · Time perception · Probability · Entropy
How long was
that buzz?
Something vibrates against your fingertip and stops. You have no clock in your skin. So how does the length of a moment get decided?
This edition follows one buzz on its way from the skin to a spoken answer. We build a single small model, “the inner clock,” and add one idea per chapter: counting, intensity, a coarse tick, a memory of the last interval, and an expectation.
The path runs through four papers from your shelf, two of them rated 5/5. The math is probability: how many events to expect, how spread out the answers are, how to weigh evidence against expectation, and how to measure uncertainty in bits.
How to read this edition
One simulation appears in every chapter. Settings you change carry from one chapter to the next, and each figure has a reset button. Predict before moving a control, then explain what happened. The calculations are optional.
This edition has its own notes and progress, saved only in this browser. Edition 02 and Edition 01 keep theirs.
A buzz
with no clock.
You rest a finger on a small motor. It buzzes, then stops. You are asked how long it lasted. Nothing on your skin reports “one second.” Whatever answer you give has to be built from something the nervous system does have: activity that arrives while the buzz is on.
Here is the simplest possible version. Suppose the buzz produces ticks at an average of 20 per second, but at random moments. If you counted 20 ticks, you would say “about one second.” Counting is the whole idea: reported duration = ticks counted ÷ 20.
Because the ticks are random, the count is not fixed. A buzz of exactly one second might give 17 ticks one time and 23 another. The answers scatter around the truth. The spread depends on how many ticks there are to count.
How scattered are the answers?
Predict first: will a half-second buzz be judged more precisely or less precisely than a one-second buzz, in proportion to its length? Then move the slider.
The typical report sits on the truth, and the scatter around it is what we will keep chipping at. Longer buzzes give more ticks, and with more ticks the answer is relatively tighter.
Optional: how big is the scatter?
If ticks arrive at rate λ (here 20 per second) for a duration T, the expected count is μ = λT. For random, independent arrivals this count follows a Poisson distribution: P(N = n) = e−μ μn ⁄ n!. Its mean is μ and, usefully, its variance is also μ. So the standard deviation is √μ.
For T = 1 s, μ = 20 and the standard deviation is √20 ≈ 4.5 ticks, which is 4.5 ÷ 20 ≈ 0.22 s. That is 22% of one second. For T = 0.5 s, μ = 10, the spread is √10 ÷ 20 ≈ 0.16 s, which is 32% of half a second. Relative scatter is 1 ÷ √μ: quadruple the ticks and halve the relative scatter.
A first link to your shelf
Your next chapter’s paper does something like this with real spikes. It records activity in rat somatosensory cortex and passes it through an accumulator to model how long a vibration feels. Counting ticks is our stripped-down version of that idea, not their model.
A connection to keep
Notes stay in this browser. Download them to keep a copy.Why stronger
feels longer.
Now keep the duration the same but make the buzz stronger. A stronger vibration drives sensory neurons harder, so in our model ticks arrive faster: 30 per second instead of 20. The observer still divides by 20, because nothing told them the buzz got stronger. Counting 30 ticks in one second, they report 1.5 seconds.
This is not a defect we added for drama. In experiments with humans and rats, stronger vibrations were judged longer, and longer vibrations were judged stronger [1]. The two judgments are not independent.
Trade length for strength
Set the true duration to 1.00 s and raise the intensity. Then find a shorter buzz and a stronger one that produce the same typical report.
The scatter changes too. With more ticks, the count is relatively tighter, so a stronger buzz is judged more consistently and more wrongly at the same time. Being consistent and being right are different properties, and the next chapters keep returning to that distinction.
Optional: the bias in one line
With rate multiplier g the expected count is μ = 20gT, so the expected report is μ ÷ 20 = gT. Bias = gT − T = (g − 1)T. At g = 1.5 and T = 1 s the typical report is 1.5 s. A buzz with g = 1.5 and T = 0.67 s is reported as about 1.0 s, the same as a plain one-second buzz at g = 1.
Experiments and model · Toso and colleagues, 2021 [1]
Two accumulators, one stream of spikes
Humans and rats judged vibrations on the fingertip or whiskers. The authors recorded spiking from rat whisker cortex and fed it into two leaky integrators, one with a short time constant for intensity and one with a long time constant for duration. The model outputs reproduced the rats’ judgments, and the authors then tested its predictions in humans.
They state limits too: the integrators are a characterization, “not a literal portrayal” of a physiological mechanism; the neural recordings come from two implanted rats; and the model concerns the duration of a stimulus itself, not the gap between a start and a stop signal. Our counter has no leak and no cortex. It borrows only the idea that duration is read from accumulated activity.
Read the paper from your shelf →A connection to keep
Notes stay in this browser. Download them to keep a copy.How fine
is a tick?
So far the observer can report any multiple of 0.05 s. Real perception also has a limit on how finely it separates moments. Suppose the observer can only report whole “ticks of width w,” rounding what they counted to the nearest multiple of w.
With w = 0.25 s, a count that suggests 0.65 s is rounded to 0.75 s (since 0.65 ÷ 0.25 = 2.6, which rounds to 3). A count that suggests 0.70 s also becomes 0.75 s (0.70 ÷ 0.25 = 2.8, which rounds to 3). Two different truths land on the same report. That is what resolution means: some differences cannot be told apart.
Make the ruler coarser
Widen the tick and watch two things: the bars collapse onto fewer positions, and the uncertainty in bits drops. At a true 1.00 s the within-10% score may even rise, because 1.0 is a multiple of the tick. Try 0.70 s to see what the coarse ruler hides.
A coarser ruler gives fewer distinguishable answers, so there is less to be uncertain about, but it can throw away the very difference you were asked to find. A short buzz of 0.55 s and one of 0.70 s may end up in the same bucket.
Optional: counting what a coarse ruler can still say
With w = 0.5 s, the possible reports are 0, 0.5, 1.0, 1.5, … With w = 0.05 s they are 0, 0.05, 0.10, … ten times as many in the same range. If all the possible answers were equally likely, the uncertainty would be log2(number of answers). Dropping from, say, 16 equally likely answers to 4 changes it from 4 bits to 2 bits. Real distributions are not equal, so the figure computes the actual entropy of the bars.
Human experiment · Ronconi, Busch and Melcher, 2018 [2]
A rhythm that changes the window
The researchers used each participant’s individual alpha frequency (the peak of an 8 to 12 Hz brain rhythm in resting EEG) to set the rate of audio-visual entrainment, 2 Hz above or below it. According to the abstract, faster entrainment produced faster behavioral fluctuations, and it improved segregating two events, while slower entrainment improved integrating them. Integration and segregation performance fluctuated nearly in opposite phase.
Their stimuli were brief visual events, not buzz durations, and I read only the abstract. Our tick width is an analogy for the trade-off they report: a finer temporal grain helps tell events apart, a coarser one helps merge them.
Read the paper from your shelf →A connection to keep
Notes stay in this browser. Download them to keep a copy.What memory
keeps.
You rarely judge a buzz alone. Usually one interval follows another, and the earlier one does not vanish. Suppose you just judged a 0.6 s interval. A trace of it lingers and tugs on the next report. In our model, the final report is a mix: (1 − m) × the current estimate + m × 0.6 s.
Take m = 0.3 and a current estimate of 1.00 s. The report is 0.7 × 1.00 + 0.3 × 0.6 = 0.70 + 0.18 = 0.88 s. Long intervals are pulled shorter, and intervals shorter than 0.6 s would be pulled longer.
Give the past a vote
Predict where the solid line will sit for a 1.40 s buzz when the pull is 30%. Then test it, and try a 0.40 s buzz.
The pull shrinks the scatter (everything is drawn toward one value) and adds a bias that depends on where the current buzz sits relative to 0.6 s. A short, steady lean toward the past is a trade: less noise, more error in a particular direction.
Optional: why the pull shrinks the scatter
Mixing multiplies the current estimate by (1 − m) and adds a constant. A constant adds no scatter, so the standard deviation becomes (1 − m) times what it was. At m = 0.3 the 0.22 s scatter of Try 01 becomes 0.7 × 0.22 ≈ 0.16 s. The typical report moves from T to (1 − m)T + 0.6m. At T = 1.4 that is 0.7 × 1.4 + 0.18 = 1.16 s, so a long buzz is under-reported by 0.24 s while the scatter shrinks.
Theory · Killeen and Grondin, 2022 [3]
A ruler that is warped by what came before
The theory proposes that duration is estimated from the memorial strength of the stimuli that signal the start of an interval, read at the moment it ends, and that memory traces of similar stimuli interact. The abstract says a presented standard stimulus affects how a comparison stimulus is perceived, “warping the ruler,” and lists effects it aims to account for, including time-order errors and Vierordt’s law.
I read only the abstract. Our single mixing weight carries just the flavor of one earlier interval influencing the next; the theory itself is far more detailed.
Read the paper from your shelf →A connection to keep
Notes stay in this browser. Download them to keep a copy.What you
expected.
One more ingredient. Suppose you expect buzzes in this experiment to last about 1.0 second. When the evidence is thin (few ticks) you should lean on that expectation. When it is rich (many ticks) you should trust the evidence. A simple way to do this is a weighted average in which each side is weighed by how reliable it is:
Here N is the number of ticks counted, the evidence is N ÷ 20, the expectation is 1.0 s, and k is how many ticks’ worth of trust you place in the expectation. If N = 10 (evidence 0.50 s) and k = 10, the report is (10 × 0.50 + 10 × 1.0) ÷ 20 = 0.75 s. If N = 40 (evidence 2.00 s) and k = 10, it is (40 × 2.00 + 10 × 1.0) ÷ 50 = 1.80 s. The more ticks, the less the expectation matters.
Trade scatter for bias
Set the true duration to 1.00 s and raise the weight on expectation: the scatter and the uncertainty fall. Now set the true duration to 0.50 s and repeat. What did the expectation buy you, and what did it cost? All five settings are available here.
When the expectation is right, it is nearly free help. When the world differs from it, you pay in bias. Reducing scatter and being correct are separate goals, the same lesson as the intensity effect, now seen from the other side.
Measuring uncertainty: bits
The “uncertainty in bits” under the chart is the entropy of the answer distribution. It starts from surprise, defined for an outcome with probability p as −log2 p bits. An event with probability ½ carries 1 bit of surprise, one with probability ⅛ carries 3 bits. Entropy is the average surprise: H = −Σ p log2 p.
Optional: three entropy calculations
A fair coin: two outcomes, p = ½ each, so H = ½ × 1 + ½ × 1 = 1 bit. Four equally likely answers: H = 4 × (¼ × 2) = 2 bits. A lopsided coin with p = 0.9 and 0.1: H = 0.9 × 0.152 + 0.1 × 3.322 = 0.137 + 0.332 ≈ 0.47 bits. A more predictable answer has lower entropy. That is why leaning on a confident expectation lowers the figure above.
Review · Friston, 2010 [4]
Surprise as the quantity to keep small
The review treats the free-energy principle as a proposal that adaptive systems resist disorder by minimizing free energy, which it describes as an upper bound on surprise. It argues that several brain theories share the theme of optimization, with value or its complement, surprise, as the quantity being optimized. It is a theoretical framework presented as promising and still needing to establish its unifying power.
Our weighted average and entropy are an independent illustration of balancing evidence against expectation. They are not the free-energy mathematics, and nothing here shows that the brain times events this way.
Read the paper from your shelf →A connection to keep
Notes stay in this browser. Download them to keep a copy.Whose clock
is it?
We followed one buzz through five changes. Each setting moved the report in a different way, and each did something different to the spread and the uncertainty.
| Setting | What it does to the report | Chapter |
|---|---|---|
| Duration | More ticks, so a relatively tighter spread (1 ÷ √ticks). | 1 |
| Intensity | Shifts the typical report (bias); the relative scatter shrinks. | 2 |
| Tick width | Fewer distinguishable answers, so lower uncertainty and lost differences. | 3 |
| Previous interval | Shrinks the spread and pulls toward the past. | 4 |
| Expectation | Shrinks the spread when right and adds bias when wrong. | 5 |
The most useful habit is to keep two questions apart: how scattered are the answers? and how far off is the typical one? Several of our settings improve the first while leaving the second worse or unchanged.
A possible bridge to your interest in dreams and sleep rhythms is to ask what happens to each setting in a different state, where intensity, memory, and expectation might all change. That is a question our model suggests, not a finding from these papers.
A challenge you can explain without equations
- Make two settings cancel. Find an intensity that raises the report and a pull that lowers it so the typical report lands on the truth. Is the spread the same as at the start?
- Break the model. Choose a setting where the typical report is correct yet the “within 10%” score is poor. What does that tell you about using one number to describe a judgment?
- Choose a next question. What would you vary in a real experiment (intensity, rhythm, a previous interval, a stated expectation), and which result would make you drop one of these ideas?
A connection to keep
Notes stay in this browser. Download them to keep a copy.Downloads this edition’s notes, chapter marks, full references, and credits as Markdown. Notes save only in this browser.
How this was made
Credits.
- Collection & direction
- Josh Gnizak curated the research collection and chose the theme (time perception), the math (probability and entropy), the format (one simulation), and the framing (a journey). That curation is not a scientific review of this text.
- Writing, examples & implementation
- Claude (Anthropic), working through Claude Code, selected the learning path and generated the prose, calculations, diagrams, and implementation. The reader may contain errors.
- Research
- The cited authors produced the original research. Source notes distinguish an open-access article read in part, two works consulted through abstracts only, and a review consulted through its abstract and opening pages.
- Teaching model
- The inner clock and all its calculations were made for this reader. No paper figures or experimental data were copied. Its Poisson counting, rounding, mixing and weighting rules are separate from the research models, and the suggested bridges are interpretations without endorsement from the cited authors.
Follow the evidence
References &
further reading.
Four works from your shelf. Each source note says what was consulted.
Experiments and computational model · touch
A sensory integration account for time perception
Alessandro Toso, Arash Fassihi, Luciano Paz, Francesca Pulecchi & Mathew E. Diamond (2021). PLOS Computational Biology 17(1), e1008668.
Reader source: Open-access full text, read through the experimental design, model description, and stated limitations (first ~100,000 characters of the page; the final sections were not read). Used for the reported two-way interaction between vibration intensity and duration and for the leaky-integrator account. The reader’s counting model is independent and has no leak.
Human experiment · EEG and sensory entrainment
Alpha-band sensory entrainment alters the duration of temporal windows in visual perception
Luca Ronconi, Niko A. Busch & David Melcher (2018). Scientific Reports 8, 11810.
Reader source: Abstract and bibliographic record only (the publisher page could not be fetched for full text). Used for the reported effect of faster and slower entrainment on integration and segregation. Experimental procedure and statistics are not described beyond the abstract.
Theory · psychophysics of timing
A trace theory of time perception
Peter R. Killeen & Simon Grondin (2022). Psychological Review 129(4), 603–639.
Reader source: Abstract only. Used for the theory’s stated ideas: duration estimated from the memorial strength of the signalling stimuli, and an earlier stimulus affecting how a later one is perceived. The reader’s “pull of the previous interval” is a deliberately simple stand-in, not the authors’ model. Volume, issue, and pages were checked against Crossref.
Review · theoretical framework
The free-energy principle: a unified brain theory?
Karl Friston (2010). Nature Reviews Neuroscience 11, 127–138.
Reader source: Abstract and the opening pages of the author-hosted PDF. Used only for the review’s statement that free energy is an upper bound on surprise. The mathematics of the principle is not reproduced; the reader’s expectation example is an independent illustration of weighting a prior against evidence. Citation details were checked against Crossref.
Optional math companion · Reader-created derivations
The calculations you can check
The expandable steps use the Poisson distribution (mean and variance both equal to the expected count), simple weighted averages, and Shannon entropy, H = −Σ p log₂ p. They specify the reader’s model; they are not equations attributed to the research authors.
Return to the first calculation ↑Edition 03 · October 2026 · An AI-generated reading experiment for Root Fall.
Back to the beginning ↑