Erie Sonification Recording for Kernel Density Estimate Example
Sonification
To stop playing the sonification, press the X key.
The kernel density estimation of body mass by species and island
This sonification sequence consists of 5 parts.
The first stream has the following sound mappings.
The Body Mass value is mapped to time. The duration of the stream is 3 seconds
The Body Mass value is mapped to pan. The domains values from 2500 to 6500 are mapped to
The Kernel density is mapped to pitch. The domains values from 1.654e-30 to 0.001057 are mapped to
Stream 1. Adelie and Torgersen.
Start playing.
Stream 2. Adelie and Biscoe.
Start playing.
Stream 3. Adelie and Dream.
Start playing.
Stream 4. Chinstrap and Dream.
Start playing.
Stream 5. Gentoo and Biscoe.
Start playing.
Finished.
Expression
JSON Specification
JS Spec API
See the results of this code in the browser console
Formal Expression
Spec=(
description='The kernel density estimation of body mass by species and island.',
data=(url='data/penguins.json'),
tone=(type='default', continued=true),
encoding=(
time=(
field='value',
type='nominal',
scale=(length=3, title='Body Mass value')
),
pan=(
field='value',
type='quantitative',
scale=(
title='Body Mass value',
polarity='positive'
)
),
pitch=(
field='density',
type='quantitative',
scale=(
title='Kernel density',
polarity='positive',
range=[0, 700]
)
),
repeat=(
field=['Species', 'Island'],
type='quantitative',
speech=true,
scale=(description=skip)
)
),
config=(speechRate=1.75)
)