code: protected void newAttempt() {
          this.attempt++;
          this.initialPrompt.rewind();
          this.reprompt.rewind();
          this.noSpeechReprompt.rewind();
          this.successAnnouncement.rewind();
          this.failureAnnouncement.rewind();
          this.tone = ' ';
          this.speechDetected = false;
      }
docs: Resets the collected digits and increments the attempts counter.