Designing data sonification: map metrics to sound people can interpret
Data sonification maps relationships in data to relationships in non-speech sound so listeners can hear trends, differences, or unusual signals. A useful sonification discloses which variable and value change which sound property, such as pitch, duration, or loudness, and keeps the underlying values available. Pleasant sound alone does not make an encoding accurate or accessible.
What it means to turn data into sound
Sonification is not simply background music or an alert added to a chart. It is a set of choices that links values or relationships to properties such as pitch, loudness, duration, timbre, rhythm, or left-right position so that a change in the sound signifies a change in the data. For example, playing notes in time order and raising the pitch as values increase can let a listener hear an upward or downward pattern. If the sound only creates a mood and is not tied to data values, it is not functioning as data sonification.
NASA’s Webb telescope sonifications offer a concrete example of this mapping. In NASA’s Cosmic Cliffs example, the image is scanned from left to right, brighter light is louder, and vertical position in the image is mapped to sound frequency. NASA also says the audio was not recorded in space; it is an encoding of image data. The sound is therefore not the object itself, but a designed way to interpret the data.
Start by asking what data question the listener needs to answer, not how to make an interesting sound. The right mapping and playback method depend on whether the listener needs to detect direction, turning points, spikes, or differences among categories.
Pair variables with sound properties carefully
Pitch can reveal the direction of a continuous change, while rhythm or note duration can represent event frequency or persistence. Timbre can distinguish categories by sound quality, but many categories may become hard to tell apart. Loudness can represent magnitude, yet playback volume and listening conditions also affect perceived loudness. Each property has trade-offs; use the table as a starting point and check it with actual listeners.
| Sound property | Data question it may suit | Caution |
|---|---|---|
| Pitch or frequency | Direction of change or a continuous value | Disclose the value-to-pitch range. Frequency steps and perceived musical intervals are not equivalent, so do not overstate pitch as an exact reading of magnitude. |
| Loudness | Differences in strength or magnitude | Device volume, headphones or speakers, and background noise change perceived loudness. Do not make loudness the only way to read exact values. |
| Duration or rhythm | Persistence, event frequency, or repeated patterns | Very fast or long sequences can strain memory and interpretation. Set a consistent beat and segment length. |
| Timbre | A small number of categories or data series | Many similar timbres are easy to confuse. Explain each category and check whether it remains distinct in a mix. |
| Left-right position |
Begin with one important variable mapped to one sound property. If several variables are all encoded through pitch, loudness, and timbre at once, the sound can become complex and it may be difficult to tell which variable caused a change. If multiple variables are necessary, play them in segments or let users select one at a time. Test any extra timbre code with listeners, starting with only a few categories.
Worked example: hearing a conversion rate as pitch
This hypothetical example demonstrates the design; it is not real business data or a user-test result. Suppose a dashboard user wants to hear whether a daily conversion rate is rising or falling. Fix the data domain at 0% to 10% and map pitch from 220 Hz to 660 Hz. Here, x is a percentage-point value: for example, 2 means 2%.
Frequency (Hz) = 220 + 44 × conversion rate (percentage points)
| Day | Hypothetical conversion rate | Mapped pitch |
|---|---|---|
| Monday | 2% | 308 Hz |
| Tuesday | 4% | 396 Hz |
| Wednesday | 6% | 484 Hz |
| Thursday | 4% | 396 Hz |
| Friday | 9% | 616 Hz |
Play one note per day at the same interval, with higher conversion rates mapped to higher pitches. A listener may notice a rise from Monday to Wednesday, a dip on Thursday, and a larger rise on Friday. Do not expect listeners to infer the exact rate from pitch alone. Explain the mapping and range, and place a table of dates and rates and a chart nearby so people can check the actual values. The linear frequency equation is illustrative; it does not mean people perceive every pitch interval as an equal numerical step.
Keep the base domain fixed if the same value should sound the same after changing a date filter. If the scale is automatically normalized to the selected period’s minimum and maximum, the same conversion rate can sound different depending on the filter. If relative, period-by-period patterns are the goal and automatic scaling is needed, make the changed reference range visible and let users compare it with the fixed scale.
Define missing and out-of-range values separately. A missing observation is not 0%, so do not encode both as the same low note or silence. Use a clearly distinct marker sound, or pause at that point and announce “no value.” If a value exceeds the defined range, do not silently clamp it to the maximum; flag it or use a documented exception cue. Explain the chosen rule in both the chart and audio description.
Provide context so listeners can interpret the sound
Sound can provide another route to noticing patterns, but listeners need to know which value or interval a note represents. Before playback, briefly describe the metric, unit, period, and mapping direction. During playback, identify the start and end of a segment or important turning points. Let users replay or pause sections, and provide the source table or accessible list of values alongside a text summary.
A CHI 2022 study evaluated how descriptions and sonification should be sequenced for time-based data with 16 blind or low-vision screen-reader users. Compared with a control that played the description first and then the full sonification, alternating description and sound segments helped participants form a more complete gist and draw more inferences, especially for complex data with many trend reversals. The benefit was smaller for simpler data. This is one study with a particular kind of time series and participant group, not evidence that the same effect applies to every audience or dataset.
The design lesson from this study and NASA’s examples is to connect sound to data context. A short, consistent description can introduce the next segment’s dates and value range; after listening, users can check the numbers or key changes in text. One long recording can make it hard to return to a specific point, so consider dividing it into sections that users can replay and navigate.
Check accessibility and accuracy together
Sound does not automatically make information accessible to everyone. People who are deaf or hard of hearing, sensitive to sound, or unable to use speakers at the moment may not be able to get the information from audio alone. A visual-only chart can likewise leave blind readers without enough access to the data relationships. Provide text descriptions, a structured data table, and an explanation of the chart so people can reach the same key information through different paths.
If sonification is published as prerecorded audio-only media, check the scope of WCAG 2.2 Success Criterion 1.2.1, which requires a time-based alternative that conveys equivalent information. For non-text content such as a chart, also review Success Criterion 1.1.1 on text alternatives. This article does not determine whether a particular site or product conforms; assess the actual content and applicable criteria separately.
Provide visible play, pause, stop, and volume controls, and avoid autoplay. Give controls readable names and current states, and make them operable by keyboard. Explain the mapping to screen-reader users and listeners in the intended environment, then check whether they understand the direction correctly, identify missing and exceptional values, and find that the sound agrees with the table and text. Evaluate the accuracy of data communication, not how attractive the sound feels.
Design and verify in sequence
Define the listener’s question. Decide whether sound should help identify a trend, category difference, unusual signal, or particular value.
Fix the metric, unit, time order, analysis period, and filter scope. Record any changed range when data update automatically.
Start with one key variable and map it to one understandable property: pitch, duration, loudness, or timbre. Define the direction, reference point, and range.
Specify what happens at zero, minimum, midpoint, maximum, missing values, and values outside the range. Make fixed scaling or filter-based normalization visible to the user.
Add a data description, segment cues, a table or exact-value list, and playback controls. Provide another way to understand the same information when audio cannot be used.
If there are several variables, try segmenting or selecting series before mixing them. Account for changes in loudness and sound location across listening environments.
Check that low, middle, and high test values sound in the intended order, and compare audio with the table under filters, missing data, and out-of-range cases.
Review with intended listeners in realistic listening conditions. If sounds are confusing or burdensome, simplify the code and strengthen the description and table. Recheck after changing the mapping; do not assume the new encoding means the same thing as the old one.
Sources
[Siu et al., CHI 2022: Supporting Accessible Data Visualization Through Audio Data Narratives (Stanford HCI PDF)](https://hci.stanford.edu/publications/2022/siu2022datanarratives.pdf)
[NASA Science: Webb Sonifications](https://science.nasa.gov/mission/webb/sonifications/)
[W3C WAI: Understanding WCAG 2.2 Audio-only and Video-only (Prerecorded)](https://www.w3.org/WAI/WCAG22/Understanding/audio-only-and-video-only-prerecorded.html)
[W3C WAI: Understanding WCAG 2.2 Non-text Content](https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html)