-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pickup, drop, and motion sounds for ruler, see phetsims/gravity-f…
- Loading branch information
Showing
6 changed files
with
93 additions
and
17 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2019, University of Colorado Boulder | ||
|
||
/** | ||
* shared sound generator for picking something up, uses the singleton pattern | ||
* | ||
* @author John Blanco (PhET Interactive Simulations) | ||
*/ | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
const SharedSoundClip = require( 'TAMBO/sound-generators/SharedSoundClip' ); | ||
const tambo = require( 'TAMBO/tambo' ); | ||
|
||
// sounds | ||
const grabSoundInfo = require( 'sound!TAMBO/grab-v2.mp3' ); | ||
|
||
// create the shared sound instance | ||
const grabSoundPlayer = new SharedSoundClip( grabSoundInfo, { initialOutputLevel: 0.7 } ); | ||
|
||
return tambo.register( 'grabSoundPlayer', grabSoundPlayer ); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2019, University of Colorado Boulder | ||
|
||
/** | ||
* shared sound generator for releasing something, uses the singleton pattern | ||
* | ||
* @author John Blanco (PhET Interactive Simulations) | ||
*/ | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
const SharedSoundClip = require( 'TAMBO/sound-generators/SharedSoundClip' ); | ||
const tambo = require( 'TAMBO/tambo' ); | ||
|
||
// sounds | ||
const releaseSoundInfo = require( 'sound!TAMBO/release-002.mp3' ); | ||
|
||
// create the shared sound instance | ||
const releaseSoundPlayer = new SharedSoundClip( releaseSoundInfo, { initialOutputLevel: 0.7 } ); | ||
|
||
return tambo.register( 'releaseSoundPlayer', releaseSoundPlayer ); | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright 2019, University of Colorado Boulder | ||
|
||
/** | ||
* shared sound generator that produces a soft click, often used to produce discrete sounds for some continuous | ||
* quantity, uses the singleton pattern | ||
* | ||
* @author John Blanco (PhET Interactive Simulations) | ||
*/ | ||
define( require => { | ||
'use strict'; | ||
|
||
// modules | ||
const SharedSoundClip = require( 'TAMBO/sound-generators/SharedSoundClip' ); | ||
const tambo = require( 'TAMBO/tambo' ); | ||
|
||
// sounds | ||
const softClickSoundInfo = require( 'sound!TAMBO/click-001.mp3' ); | ||
|
||
// create the shared sound instance | ||
const softClickSoundPlayer = new SharedSoundClip( softClickSoundInfo, { initialOutputLevel: 0.2 } ); | ||
|
||
return tambo.register( 'softClickSoundPlayer', softClickSoundPlayer ); | ||
} ); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,47 +5,47 @@ | |
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"07_Button_Reset_All_v3-16-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"07_Button_Reset_All_v3-24-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"07_Button_Reset_All_v3-48-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"07_Button_Reset_All_v3-64-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"07_Button_Reset_All_v3-128-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"20180213_Bright_Marimba-128-kbps-stereo.mp3": { | ||
"text": [ | ||
|
@@ -157,79 +157,88 @@ | |
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"Charges_In_Body_Better_Loop-48-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"Charges_In_Body_Better_Loop-64-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"Charges_In_Body_Better_Loop-24-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"Charges_In_Body_Better_Loop-16-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"Charges_In_Body_Better_Loop-8-kbps-mono.mp3": { | ||
"text": [ | ||
"Copyright 2002-2018 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"checkbox-checked.mp3": { | ||
"text": [ | ||
"Copyright 2002-2019 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for use by PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"checkbox-unchecked.mp3": { | ||
"text": [ | ||
"Copyright 2002-2019 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for use by PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"click-001.mp3": { | ||
"text": [ | ||
"Copyright 2002-2019 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
|
||
"combo-box-close.mp3": { | ||
"text": [ | ||
"Copyright 2002-2019 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for use by PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"combo-box-open.mp3": { | ||
"text": [ | ||
"Copyright 2002-2019 University of Colorado Boulder" | ||
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for use by PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"crickets-loop.mp3": { | ||
"text": [ | ||
|
@@ -413,7 +422,7 @@ | |
], | ||
"projectURL": "http://phet.colorado.edu", | ||
"license": "contact [email protected]", | ||
"notes": "created by Ashton Morris for use by PhET" | ||
"notes": "created by Ashton Morris (PhET Interactive Simulations)" | ||
}, | ||
"rhodes-chord.mp3": { | ||
"text": [ | ||
|