/** @param practice Determines whether or not the user has put PitchLab into practice mode */
 public String pp_play(boolean practice) {
   double f = DynmVar.getFirstFreq();
   if (DynmVar.instrument == "Sine") {
     System.out.println("Using default Sine wave");
     pw.contSine.play(f);
   } else {
     piano.playRandomSequence(f);
   }
   return practice ? Calculations.freqToCents(DynmVar.getFirstFreq()) : "";
 }
 public void pp_recordPlayTime() {
   pw.dataHardCopy.appendToLine(Double.toString(DynmVar.getFirstFreq()));
   pw.dataHardCopy.appendToLine(Calculations.freqToCents(DynmVar.getFirstFreq()));
   pw.contSine.play(DynmVar.getFirstFreq());
   DynmVar.cycleStartTime = System.currentTimeMillis();
 }