Stand in a tropical forest at five in the morning and close your eyes. For a minute it seems like noise. Then the layers separate. There is a continuous high shimmer, which is insects. Below it a frog repeats two notes. Something whoops in the distance, and a bird you will never see runs up a scale and stops.

People who study forests have always known that the ears do most of the work. In dense vegetation you see perhaps twenty metres, and you can hear for a kilometre. What has changed in the past fifteen years is that the listening can be left to a machine the size of a paperback, strapped to a tree, that costs less than a pair of boots.

That solved one problem and created another. A recorder running day and night for a month produces about 700 hours of audio. A team with twenty recorders comes home with more sound than a person could hear in a working lifetime. The interesting question stopped being how to record a forest and became how to read one.

Sound as a picture

The first step is the same one a sound engineer or a speech-recognition system takes. The recording is converted into a spectrogram: a picture with time running left to right, pitch running bottom to top, and brightness showing how much sound there is at each pitch in each instant.

In a spectrogram a forest becomes legible. Insects are bright horizontal bands near the top, steady for hours. A bird's song is a small repeated squiggle. A gibbon's call is a series of rising arcs that anyone can learn to recognise in an afternoon. Rain is a grey wash over everything, and a chainsaw is a set of evenly spaced lines unlike anything alive.

One of the more beautiful ideas in the field came from looking at such pictures. In an old, intact forest, the species tend to occupy different bands of pitch and different times of day, so that their calls do not mask one another. The soundscape ecologist Bernie Krause called this the acoustic niche hypothesis. It remains debated, and it does not hold everywhere, but the pictures from rich habitats do often look like an orchestra score, with each part in its own register, and the pictures from damaged ones often have gaps.

A few numbers per minute

A picture of a month is still too large to look at. So researchers summarise.

An acoustic index is a single number computed from a short stretch of spectrogram, typically one minute. There are dozens. One measures how much the loudness changes from moment to moment within each band of pitch, on the reasoning that birdsong changes constantly and a steady hum does not. Another measures how evenly the sound is spread across the bands. A third compares the energy in the range where most animals call with the energy in the low range where engines and machinery sit.

Compute three such numbers for every minute, assign each to red, green or blue, and stack the minutes side by side. A whole day becomes one strip of colour, and a year becomes a page. Researchers in Australia pioneered these long-duration pictures, and they show at a glance things that no one would find by listening: the dawn chorus arriving a few minutes earlier each week through spring, the night the frogs started, the week the cicadas emerged, the three days the recorder was full of rain.

What the numbers do not mean

It is tempting to go one step further and treat an index as a measure of biodiversity: high number, healthy forest.

That step has been tested many times, and the results are sobering. A review of the published studies found that the relationship between acoustic indices and the number of species actually present is, on average, weak, and varies a great deal from place to place. An index that tracks bird richness well in a temperate woodland may be dominated by cicadas in the tropics, or by wind on a ridge, or by a stream.

The reason is plain once stated. An index measures a property of the sound. It has no idea what made the sound. A single loud species can drive it up, and twenty quiet ones may barely move it.

So the careful use is comparative and local. The same recorder, in the same place, at the same hour, year after year, gives a line whose changes mean something. Comparing a number from one forest with a number from another, recorded with different equipment, mostly compares the equipment.

Naming the singers

The other route is to identify the species one by one. This is where machine learning has changed the work most.

A classifier is trained on thousands of labelled spectrogram clips until it can recognise the squiggle that belongs to each species. For birds in Europe and North America, freely available models now recognise several thousand species with useful accuracy. For frogs, bats and insects, and for most of the tropics, coverage is thinner, because nobody has yet collected and labelled enough examples.

The models make two kinds of mistake, and both matter. They miss faint and overlapping calls, which is most calls in a dawn chorus. And they report species that are not there, particularly when a rare bird sounds rather like a common one. A model run over 700 hours will produce some confident detections of almost anything.

The working practice that has settled is modest and sound. Let the model go through everything. Then have a person listen to a sample of what it found for each species, and to a sample of what it rejected. From those two checks you learn how far to trust the rest, and you report that alongside the result.

Listening for what is missing

Some of the most useful findings from forest recordings concern absence.

In several studies in the tropics, recorders placed in forest that still looks intact from the air have picked up markedly thinner soundscapes where hunting is heavy. The trees are standing and the canopy is closed, and the large birds and primates that should be calling at dawn are not. Satellites cannot see that. A recorder can.

Recorders also hear gunshots, chainsaws and engines, and can be set to report them. And because a recording is permanent, it can be searched again later for things nobody thought to look for at the time. A set of recordings made today is a specimen of a place, as a pressed plant is, and may be as valuable in fifty years.

Trying it

None of this needs a research grant. A phone will record ten minutes at dawn from the same window or the same bench once a week. Free software will show the spectrogram. Free apps will suggest which birds are singing, and you can check them against your own ears, which is the most instructive part.

Keep the recordings and the dates. After a year you will have something that almost nobody has for the place where they live: a record of what it sounded like, which you can lay beside next year's.