About

Tool No. 35 of Pikkola

Most timers are a countdown built from ticks. This one stores the moment the session should end and works backwards from the clock, so a slow tab, a sleeping laptop lid or a long look away does not cost you minutes. The sounds are built the same way: nothing is downloaded, everything is made as it plays.

What it does

How the timer keeps time

Pressing start writes an end time into memory and the remaining time is recalculated from the system clock about four times a second. The drawing can be skipped when the tab is hidden, but the arithmetic cannot drift, because it never adds up small intervals. When the remaining time crosses zero the session ends once, and the next mode is set without starting itself.

The timer also survives a reload. If you refresh the page or the browser restores the tab while a session is still running, the remaining minutes come back from the saved end time. A tab that was closed for an hour comes back with the session already finished rather than pretending an hour passed inside it.

How the sounds are made

There are no audio files on this site. Rain is filtered white noise with a slowly moving low pass and a layer of short droplets placed at random intervals. White noise is a loop of random samples. Brown noise is the same loop integrated so the high end falls away. The lo-fi channel plays four chords in turn through a low pass, with a quiet band of tape hiss under it.

All of it runs through the Web Audio API in the tab. That is why the page can promise that nothing is streamed, and why the sound stops the moment the tab closes. The four channels have separate gains into a master gain, so a mix you like is kept between visits in local storage.

What it deliberately does not do

Why it is free

Pikkola builds small tools that do one job and keeps them free, with no account and no advertising. A static page with local audio costs almost nothing to serve, so there is no reason to charge for this one.

Contact

A timer that drifts, a sound that clicks, a phrase that reads badly in Korean or Japanese: hello@pikkola.com. Tell us the browser and what you did just before it happened.

Back to the timer