@uturi/sonification

Sonification Methods

Map numeric values to pitch, loudness, rhythm, or musical melody.

Choose how each data point is expressed in sound. For every method, higher values produce a stronger corresponding cue.

1. Frequency (Pitch Variation)

Pitch varies with the value. Higher values produce higher pitches.

const sonifier = new Sonifier();
const result = await sonifier.sonify(data, 'frequency', { autoPlay: true });

2. Volume (Volume Variation)

Volume varies with the value. Higher values produce louder sounds.

const sonifier = new Sonifier();
const result = await sonifier.sonify(data, 'volume', { autoPlay: true });

3. Rhythm (Rhythm Variation)

Rhythm varies with the value. Higher values produce faster rhythms.

const sonifier = new Sonifier();
const result = await sonifier.sonify(data, 'rhythm', { autoPlay: true });

4. Melody (Melody Variation)

Values are mapped onto a musical scale (C, D, E, F, G, A, B) to form a melody.

const sonifier = new Sonifier();
const result = await sonifier.sonify(data, 'melody', { autoPlay: true });

Choosing a method

MethodPerceptual ruleGood for
frequencyHigher value → higher pitchTrends and continuous change
volumeHigher value → louderEmphasis / intensity
rhythmHigher value → faster rhythmPatterns where tempo carries meaning
melodyValue → scale note (C–B)Musical, memorable summaries

Try them in the live demo to hear the difference.

On this page