01

A complex sound

A cymbal is a thin, round plate of metal, usually a bronze alloy, that is struck with a stick or another cymbal. Its sound is rich and complicated, containing many frequencies that do not form a simple musical pitch. Drummers choose cymbals for their particular tone, from bright and cutting to dark and warm.

02

Attack and decay

A cymbal's sound changes over time. The attack, the first fraction of a second, is a burst of noise as the stick hits the metal. Then comes the decay, a long ringing as vibrations spread across the cymbal and slowly fade, which can last many seconds. The two parts carry different information about the instrument and how it was struck.

03

Where it is struck

The sound also depends on where the cymbal is hit. Striking the bell, the raised centre, gives a clear, ringing ping. Hitting the edge gives a loud crash, and the area between, the bow, gives a controlled ride sound. A classifier might be asked to identify both the cymbal and the strike position.

04

Two kinds of model

One test compares a model that hears only the first instant with one that hears only the later decay. If the attack-only model identifies cymbals well, the information is in the strike. If only the decay model succeeds, the identity lies in how the cymbal rings. This shows which evidence the task really needs.

05

The room's echo

Recordings also capture the room. Sound reflects off walls, floors and ceilings, creating reverberation that colours the decay. A small, padded studio sounds very different from a large hall. Each room adds its own pattern of echoes.

06

A hidden shortcut

If each cymbal in a dataset is recorded in a different room, a model might learn to recognise the room's reverberation instead of the cymbal. It would appear to identify cymbals perfectly, while actually identifying rooms. It would then fail when a cymbal is recorded somewhere new.

07

Hold out a cymbal and a room

A demanding test holds out a whole physical cymbal, never heard in training, and a whole room, never used in training. Testing the familiar cymbals in the new room, and the new cymbal in familiar rooms, reveals whether the model has learned instruments, rooms or both.

08

Crossing the conditions

The best datasets record every cymbal in several rooms, so that cymbal and room are not linked. This design, crossing the factors, prevents the model from using one to predict the other, and allows each factor's effect to be measured separately.

09

How cymbals are made

Many professional cymbals are made from bronze alloys of copper and tin, such as B20, about 80 per cent copper and 20 per cent tin. They are cast, rolled, hammered and lathed, and each step affects the sound. Two cymbals of the same model can still sound slightly different.

10

Responsible testing

The NIST AI Risk Management Framework encourages developers to check whether AI systems rely on features that are not truly related to the task. Room acoustics are a classic example in audio classification.

11

Spectrograms

Audio models often analyse sound as a spectrogram, a picture of frequencies over time.

12

Microphone placement

The distance and angle of the microphone also change the recorded sound. A close microphone captures more attack and less room, while a distant one captures more reverberation. Recording each cymbal with several microphone positions helps separate the instrument from the recording setup.

13

Try the arithmetic

If a model identifies cymbals correctly 95 per cent of the time in familiar rooms but only 55 per cent in a new room, the 40-point drop suggests it relied heavily on room acoustics.

14

The idea to take away

A cymbal's attack and decay carry different evidence. Compare models using each part, and hold out a physical cymbal and a room. If each instrument is heard in only one room, the model may learn the room instead of the instrument.

FOLLOW THE EVIDENCE

Sources & further reading

Figures in the example are illustrative. Photograph: Bronze Cymbal LACMA M.80.198.21.jpg by See original collection record, Public domain, via Wikimedia Commons; cropped and resized. Reference organisations do not endorse this website.