Skip to content

Commit

Permalink
FLOE-437: remove conditional creation of synth & enviro, since we're …
Browse files Browse the repository at this point in the history
…no longer working around bugs
  • Loading branch information
waharnum committed Feb 2, 2016
1 parent eaf17db commit 0ee0b02
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/js/sonifier.js
Expand Up @@ -28,11 +28,9 @@ https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.tx

},
enviro: {
createOnEvent: "onSynthNeeded",
type: "flock.enviro"
},
synth: {
createOnEvent: "onSynthNeeded",
type: "floe.chartAuthoring.electricPianoBand",
options: {
components: {
Expand Down Expand Up @@ -101,8 +99,6 @@ https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.tx
"defaultSonificationStrategy": "{that}.unitDivisor10xSonificationStrategy"
},
events: {
// Fires to trigger creation of the synth the first time it's needed
onSynthNeeded: null,
// Fires when a sonification play begins
onSonificationStarted: null,
// Fires when a voice label read finishes (via event injection),
Expand All @@ -128,11 +124,6 @@ https://raw.githubusercontent.com/fluid-project/chartAuthoring/master/LICENSE.tx
return;
}

// Create the flocking environment & synth if needed
if (that.enviro === undefined || that.synth === undefined) {
that.events.onSynthNeeded.fire();
}

// Fire the start event
that.events.onSonificationStarted.fire();

Expand Down

0 comments on commit 0ee0b02

Please sign in to comment.