Example #1
0
 /// <summary>
 /// Plays the sound that signals the start of a trial.
 /// </summary>
 internal void PlayStartSound()
 {
     if (startSoundPlayer != null)
     {
         SoundFactory.dimAllVolumes(true, startSoundPlayer);
         startSoundPlayer.Play(PlaybackCompleted);
     }
 }
Example #2
0
 /// <summary>
 /// Plays the sound that signals the beginning of a move to the starting location.
 /// </summary>
 internal void PlayMoveSound()
 {
     if (moveSoundPlayer != null)
     {
         SoundFactory.dimAllVolumes(true, moveSoundPlayer);
         moveSoundPlayer.Play(PlaybackCompleted);
     }
 }
Example #3
0
 /// <summary>
 /// Plays the sound that signals the end of a move to the direction of balance location.
 /// </summary>
 internal void PlayResetEndSound()
 {
     if (resetEndSoundPlayer != null)
     {
         SoundFactory.dimAllVolumes(true, resetEndSoundPlayer);
         resetEndSoundPlayer.Play(PlaybackCompleted);
     }
 }
Example #4
0
 /// <summary>
 /// Plays the sound that signals the end of a trial.
 /// </summary>
 internal void PlayEndSound()
 {
     if (endSoundPlayer != null)
     {
         SoundFactory.dimAllVolumes(true, endSoundPlayer);
         endSoundPlayer.Play(PlaybackCompleted);
     }
 }
Example #5
0
 /// <summary>
 /// Delegate method that is called when playback has completed
 /// </summary>
 private void PlaybackCompleted()
 {
     SoundFactory.dimAllVolumes(false, null);
 }