diff --git a/assets/saturated-sine.wav b/assets/saturated-sine.wav new file mode 100644 index 0000000..7407c37 Binary files /dev/null and b/assets/saturated-sine.wav differ diff --git a/js/gravity-force-lab-basics/view/ForceSoundGenerator.js b/js/gravity-force-lab-basics/view/ForceSoundGenerator.js index 5888d90..32d7a0d 100644 --- a/js/gravity-force-lab-basics/view/ForceSoundGenerator.js +++ b/js/gravity-force-lab-basics/view/ForceSoundGenerator.js @@ -19,7 +19,7 @@ define( require => { const PITCH_CENTER_OFFSET = 2; // sounds - const forceSound = require( 'sound!GRAVITY_FORCE_LAB_BASICS/saturated-sine.mp3' ); + const forceSound = require( 'sound!GRAVITY_FORCE_LAB_BASICS/saturated-sine-loop-trimmed.wav' ); class ForceSoundGenerator extends SoundClip { @@ -96,7 +96,7 @@ define( require => { // fade out complete, stop playback if ( this.fadeCountdownTime === 0 ) { - this.stop(); + this.stop( 0 ); } } } diff --git a/sounds/saturated-sine-loop-trimmed.wav b/sounds/saturated-sine-loop-trimmed.wav new file mode 100644 index 0000000..3d1fad7 Binary files /dev/null and b/sounds/saturated-sine-loop-trimmed.wav differ