From a15d7f4eaa5d2f638f60a0bd5a8719cc1ed12b11 Mon Sep 17 00:00:00 2001 From: jbphet Date: Mon, 21 Jan 2019 13:53:32 -0700 Subject: [PATCH] fixed some issues that was causing the book rub sound to seem very "abrupt", see https://github.com/phetsims/friction/issues/159 --- js/sound-generators/NoiseGenerator.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/sound-generators/NoiseGenerator.js b/js/sound-generators/NoiseGenerator.js index 4882c1c5..9af7912e 100644 --- a/js/sound-generators/NoiseGenerator.js +++ b/js/sound-generators/NoiseGenerator.js @@ -257,7 +257,6 @@ define( function( require ) { // only stop if playing, otherwise ignore if ( this.isPlaying && this.noiseSource ) { this.noiseSource.stop( time ); - this.noiseSource.disconnect( this.noiseSourceConnectionPoint ); this.noiseSource = null; } this.isPlaying = false;