Skip to content

Commit

Permalink
roughly matched volume levels to those of the prototype, see #166
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Jul 10, 2019
1 parent 991e9f6 commit 587a3b6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions js/gravity-force-lab-basics/view/GFLBScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,13 @@ define( require => {
// sound generation for the mass values
soundManager.addSoundGenerator( new MassSoundGenerator(
model.object1.valueProperty,
model.resetInProgressProperty )
);
model.resetInProgressProperty,
{ initialOutputLevel: 0.5 }
) );
soundManager.addSoundGenerator( new MassSoundGenerator(
model.object2.valueProperty,
model.resetInProgressProperty )
model.resetInProgressProperty ),
{ initialOutputLevel: 0.5 }
);

// @private - sound generation for the force sound
Expand All @@ -251,7 +253,7 @@ define( require => {
} );

// sound generation for masses (almost) colliding with one another
const innerBoundarySoundClip = new SoundClip( innerBoundarySound, { initialOutputLevel: 0.5 } );
const innerBoundarySoundClip = new SoundClip( innerBoundarySound, { initialOutputLevel: 0.25 } );
soundManager.addSoundGenerator( innerBoundarySoundClip );
model.distanceProperty.lazyLink( ( distance, previousDistance ) => {
if ( distance < previousDistance ) {
Expand Down

0 comments on commit 587a3b6

Please sign in to comment.