diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index c907b0a..f5beb0e 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -218,13 +218,12 @@ class GeneratedShape { **/ // sound and properties passed into shape creation this.soundRecorded = soundRecorded; + this.soundDuration = soundDuration; // ensure that erroneous minus amplitudes are at least given 0 if (soundAmplitude < 0) this.soundAmplitude = 0.0; else this.soundAmplitude = soundAmplitude; - this.soundDuration = soundDuration; - // mouse hover awareness for sound playing this.hover = false;