Skip to content

Commit

Permalink
new absorption sound, see #236
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Jan 21, 2020
1 parent 47546c2 commit 7bf5200
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/moleculesandlight/view/MoleculesAndLightScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ define( require => {
const microwavePhotonFromMoleculeSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/photon-release-microwave.mp3' );
const moleculeEnergizedSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/glow-loop-higher.mp3' );
const microwavePhotonInitialEmissionSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/photon-emit-microwave.mp3' );
const photonAbsorbedSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/absorb-loop.mp3' );
const photonAbsorbedSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/absorb-based-on-photon.mp3' );
const rotationClockwiseSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/rotate-clockwise.mp3' );
const rotationCounterclockwiseSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/rotate-counterclockwise.mp3' );
const ultravioletPhotonFromMoleculeSoundInfo = require( 'sound!MOLECULES_AND_LIGHT/photon-release-uv.mp3' );
Expand Down Expand Up @@ -233,7 +233,7 @@ define( require => {
//-----------------------------------------------------------------------------------------------------------------

// photon absorbed sound
const photonAbsorbedSound = new SoundClip( photonAbsorbedSoundInfo, { initialOutputLevel: 0.025 } );
const photonAbsorbedSound = new SoundClip( photonAbsorbedSoundInfo, { initialOutputLevel: 0.1 } );
soundManager.addSoundGenerator( photonAbsorbedSound );
const photonAbsorbedSoundPlayer = () => {
photonAbsorbedSound.play();
Expand Down
Binary file added sounds/absorb-based-on-photon.mp3
Binary file not shown.
Binary file removed sounds/absorb-loop.mp3
Binary file not shown.
2 changes: 1 addition & 1 deletion sounds/license.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"absorb-loop.mp3": {
"absorb-based-on-photon.mp3": {
"text": [
"Copyright 2018 University of Colorado Boulder"
],
Expand Down

0 comments on commit 7bf5200

Please sign in to comment.