FLOE-474: Sonifier doesn't play identical adjacent values

Metadata

Source
FLOE-474
Type
Bug
Priority
Major
Status
Resolved
Resolution
Fixed
Assignee
Alan Harnum
Reporter
Alan Harnum
Created
2016-09-06T15:52:30.832-0400
Updated
2016-09-13T13:01:54.683-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Chart Authoring Tool

Description

flock.modelSynth (the synthesizer used in the sonification) works using a changeApplier to trigger sound play. As currently implemented, this means that if adjacent values are identical, any past the first will not play any sound.

This is easy to see via the demo page by entering two or more identical values.

The easiest fix for this is probably to reset the synth models between sound plays around lines 216-217 of sonifier.js

Comments