Erie Sonification Recording for Exoplanet WASP-96b Example

Open in the online editor

Sonification

Note: This is a replication of Exoplanet WASP-96 b Sonification (NIRISS Transmission Spectrum).

To stop playing the sonification, press the X key.

This stream has 2 overlaid sounds.

This stream has the following sound mappings.

The wavelength is mapped to time. The duration of the stream is 18 seconds

The Amount of Light Blocked (unit, parts per million) is mapped to loudness. The minimum value 13585 is mapped to

, and the maximum value 14895 is mapped to

The Wavelength of Light (unit, microns) is mapped to pitch. The minimum value 0.619 is mapped to

, and the maximum value 2.7804 is mapped to

Start playing.

Finished.

Expression

JSON Specification

JS Spec API

See the results of this code in the browser console

Formal Expression

Spec=(
	description='Exoplanet WASP-96 b infrared transmission data.',
	data=(values=[...]),
  overlay=[(
    tone=(type='default', continued=false),
	  encoding=(
      time=(
        field='wavelength',
        type='quantitative',
        scale=(
          timing='absolute', 
          domain=[0.6, 2.8], 
          length=18
        )
      ),
      loudness=(
        field='blocked',
        type='quantitative',
        scale=(
          range=[0.2, 0.75],
          title='Amount of Light Blocked (unit, parts per million)'
          polarity='negative'
        ),
        format='d'
      ),
      pitch=(
        field='wavelength',
        type='quantitative',
        scale=(
          title='Wavelength of Light (unit, microns)',
          polarity='negative'
        )
      )
    )
  ), (
    transform=(filter='datum.water'),
    tone=(type='water', continued=false),
	  encoding=(
      time=(
        field='wavelength',
        type='quantitative',
        scale=(
          timing='absolute', 
          domain=[0.6, 2.8], 
          length=18
        )
      )
    )
  )],
  sampling=[(
    name='water',
    url='external_audio/water.mp3'
  )],
	config=(speechRate=1.75)
)