diff --git a/js/friction/view/BookRubSoundGenerator.js b/js/friction/view/BookRubSoundGenerator.js index 2295e71d..cd7ee838 100644 --- a/js/friction/view/BookRubSoundGenerator.js +++ b/js/friction/view/BookRubSoundGenerator.js @@ -84,7 +84,7 @@ define( function( require ) { if ( contact && Math.abs( topBookXVelocity ) > 0 && !rubSoundLockedOut ) { // set the output level based on the velocity of the book - let noiseAmplitude = options.maxOutputLevel * Math.pow( Math.abs( topBookXVelocity ), 0.25 ); + let noiseAmplitude = options.maxOutputLevel * Math.min( Math.pow( Math.abs( topBookXVelocity ), 0.25 ), 1 ); this.setOutputLevel( noiseAmplitude, 0.05 ); } else { diff --git a/js/friction/view/FrictionScreenView.js b/js/friction/view/FrictionScreenView.js index 0beacc2b..ba4c7ebb 100644 --- a/js/friction/view/FrictionScreenView.js +++ b/js/friction/view/FrictionScreenView.js @@ -108,7 +108,7 @@ define( function( require ) { // @private {BookRubSoundGenerator} - sound generator for when the books rub together // TODO: Ashton - review and modify level if needed this.bookRubSoundGenerator = new BookRubSoundGenerator( model.topBookPositionProperty, model.contactProperty, { - maxOutputLevel: 0.2 + maxOutputLevel: 0.5 } ); soundManager.addSoundGenerator( this.bookRubSoundGenerator );