Skip to content

Commit

Permalink
log the output level, #45
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Mar 3, 2021
1 parent d870158 commit 012dbb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/discrete/view/FourierSoundGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ class FourierSoundGenerator extends SoundGenerator {
} );

// Set the master output level. unlink is not needed.
outputLevelProperty.lazyLink( outputLevel => {
outputLevelProperty.link( outputLevel => {
this.setOutputLevel( outputLevel );
phet.log && phet.log( `FourierSoundGenerator outputLevel=${outputLevel}` );
} );

// Turn sound on/off. unlink is not needed. We could have controlled this via options.enableControlProperties,
Expand Down

0 comments on commit 012dbb1

Please sign in to comment.