Closed samreid closed 1 year ago
Patch from investigation:
';
const code = '';
@@ -132,6 +134,8 @@
super( options );
+ window.sceneModel = this;
+
const updateDataMeasures = () => this.updateDataMeasures();
this.maxKicksLimit = Math.max( ...maxKicksChoices );
Index: js/median/view/CardNodeContainer.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/median/view/CardNodeContainer.ts b/js/median/view/CardNodeContainer.ts
--- a/js/median/view/CardNodeContainer.ts (revision 1abe9e6ce8f110b1d383dcab4d9eb9fb05c03a33)
+++ b/js/median/view/CardNodeContainer.ts (date 1687372986518)
@@ -455,7 +455,7 @@
// Moving to the right, go up in pitch by 4 semitones
randomSound.setPlaybackRate( dragCell < originalCell ? 1 : Math.pow( 2, 4 / 12 ) );
- randomSound.play();
+ // randomSound.play();
}
}
};
Index: js/soccer-common/view/SoccerBallNode.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/soccer-common/view/SoccerBallNode.ts b/js/soccer-common/view/SoccerBallNode.ts
--- a/js/soccer-common/view/SoccerBallNode.ts (revision 1abe9e6ce8f110b1d383dcab4d9eb9fb05c03a33)
+++ b/js/soccer-common/view/SoccerBallNode.ts (date 1687372732313)
@@ -123,7 +123,7 @@
// When the user drags a soccer ball, play audio corresponding to its new position.
soccerBall.valueProperty.link( value => {
if ( value !== null && ( isDragging || isSliderDragging ) ) {
- NumberTone.play( value );
+ NumberTone.playMedianGlobal( );
}
} );
Implemented and would be good to get design review from @catherinecarter. If it needs changes, please reassign to me. If it seems good please reassign to @matthew-blackman and @marlitas for code review.
Working as intended. Will look for confusion in interviews about whether this interaction makes sense.
Reopening for code review.
Code changes look good an it sounds great. Love the change! Closing.
EM: Idea - when the median checkbox is checked, the median sound plays only rather than the position of the ball
Concerns: The sound the ball lands on the number line is no longer connected to the balls Future screens might be confusing Will it be confusing with the connection between the number line position of the balls and the checkboxes being checked
SR: mocked it up and it sounds nice, there’s a question about whether the mean/median is conflated if both checkboxes are checked or on future screens
Ideas If median checkbox is checked, the median position sound plays If mean checkbox is checked, the mean position sound plays If both or neither is checked, we hear the sounds of the balls landing in their positions on the number line On Variability screen, could play the sound of the size of the spread measure when checkbox is selected in the accordion box
MB: How could we indicate this to the user? EM: Think of these holistically and not given a particular indicator, so it might be ok. Sound users are used to exploring. People tend to attend to where their focus is in the sim (e.g., visually). If someone checks the box, their focus is there, and if not, they’ll proceed with exploration. Could be an interview question where the user is expressing confusion with the sounds changing with the checkboxes being toggled on/off.