Code example for TextToSpeech

Methods: setPitchsetSpeechRate

0
					ttsReady = false; 
				} 
			} 
		}; 
 
		myTextToSpeech = new TextToSpeech(this, ttsListener); 
		myTextToSpeech.setSpeechRate(0.75f); 
		myTextToSpeech.setPitch(1.25f); 
 
	} 
 
	public void setOldRuns(List<OldRun> oldRuns) {
		this.oldRuns = oldRuns; 
	} 
 
	public List<OldRun> getOldRuns() {
		return oldRuns; 
	} 
 
	//Writer is created when a new run is started. The dbWriter stores the run id it's writing to 
	public void setDbWriter(FunRunWriteOps frwo) {