run time adjustment of engine is good.
Status: Pre-Alpha
Brought to you by:
rajeevcoder
here all the data member is static to take care of their single instances.
public void setVolume(float sV)
{
volumeRate=sV;
helloVoice.setVolume(volumeRate);
}
public void setSpeakingRate(float sR)
{
speakingRate=sR;
helloVoice.setRate(speakingRate);
}
public void setPitch(float sP)
{
pitchRate=sP;
helloVoice.setPitch(pitchRate);
}
public void setRange(float sR)
{
rangeRate=sR;
helloVoice.setRate(speakingRate);
}
private static VoiceManager voiceManager;
private static Voice helloVoice;
private static float volumeRate=10;
private static float speakingRate=150;
private static float rangeRate=12;
private static float pitchRate=100;