Skip to content

Commit

Permalink
moved mass and force sound generators from basics to full version, see
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Oct 28, 2019
1 parent df6309f commit f1ad487
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 229 deletions.
131 changes: 0 additions & 131 deletions js/gravity-force-lab-basics/view/ForceSoundGenerator.js

This file was deleted.

8 changes: 5 additions & 3 deletions js/gravity-force-lab-basics/view/GFLBScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ define( require => {
const Color = require( 'SCENERY/util/Color' );
const DefaultDirection = require( 'INVERSE_SQUARE_LAW_COMMON/view/DefaultDirection' );
const DistanceArrowNode = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/view/DistanceArrowNode' );
const ForceSoundGenerator = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/view/ForceSoundGenerator' );
const ForceSoundGenerator = require( 'GRAVITY_FORCE_LAB/gravity-force-lab/view/ForceSoundGenerator' );
const GFLBA11yStrings = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/GFLBA11yStrings' );
const GFLBAlertManager = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/view/GFLBAlertManager' );
const GFLBConstants = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/GFLBConstants' );
Expand All @@ -36,7 +36,7 @@ define( require => {
const ISLCGridNode = require( 'INVERSE_SQUARE_LAW_COMMON/view/ISLCGridNode' );
const ISLCObjectEnum = require( 'INVERSE_SQUARE_LAW_COMMON/view/ISLCObjectEnum' );
const ISLCQueryParameters = require( 'INVERSE_SQUARE_LAW_COMMON/ISLCQueryParameters' );
const MassSoundGenerator = require( 'GRAVITY_FORCE_LAB_BASICS/gravity-force-lab-basics/view/MassSoundGenerator' );
const MassSoundGenerator = require( 'GRAVITY_FORCE_LAB/gravity-force-lab/view/MassSoundGenerator' );
const ModelViewTransform2 = require( 'PHETCOMMON/view/ModelViewTransform2' );
const Node = require( 'SCENERY/nodes/Node' );
const Property = require( 'AXON/Property' );
Expand Down Expand Up @@ -80,7 +80,7 @@ define( require => {
const basicsSimStateLabelString = GFLBA11yStrings.basicsSimStateLabel.value;

// sounds
const innerBoundarySound = require( 'sound!GRAVITY_FORCE_LAB_BASICS/scrunched-mass-collision-sonic-womp.mp3' );
const innerBoundarySound = require( 'sound!GRAVITY_FORCE_LAB/scrunched-mass-collision-sonic-womp.mp3' );
const outerBoundarySound = require( 'sound!TAMBO/boundary-reached.mp3' );

class GFLBScreenView extends ScreenView {
Expand Down Expand Up @@ -210,11 +210,13 @@ define( require => {
// sound generation for the mass values
soundManager.addSoundGenerator( new MassSoundGenerator(
model.object1.valueProperty,
GFLBConstants.MASS_RANGE,
model.resetInProgressProperty,
{ initialOutputLevel: 0.7 }
) );
soundManager.addSoundGenerator( new MassSoundGenerator(
model.object2.valueProperty,
GFLBConstants.MASS_RANGE,
model.resetInProgressProperty,
{ initialOutputLevel: 0.7 }
) );
Expand Down
69 changes: 0 additions & 69 deletions js/gravity-force-lab-basics/view/MassSoundGenerator.js

This file was deleted.

26 changes: 0 additions & 26 deletions sounds/license.json

This file was deleted.

Binary file removed sounds/rubber-band-v3.mp3
Binary file not shown.
Binary file removed sounds/saturated-sine-loop-trimmed.wav
Binary file not shown.
Binary file removed sounds/scrunched-mass-collision-sonic-womp.mp3
Binary file not shown.

0 comments on commit f1ad487

Please sign in to comment.