static void spk_setRate (volatile SpeechSynthesizer *spk, unsigned char setting) { char tag[0X40]; snprintf(tag, sizeof(tag), "<rate absspeed=\"%d\"/>", getIntegerSpeechRate(setting, 10)-10); enqueueTag(tag); }
static void spk_setRate(volatile SpeechSynthesizer *spk, unsigned char setting) { int h_range = (maxrate - espeakRATE_MINIMUM)/2; int rate = getIntegerSpeechRate(setting, h_range) + espeakRATE_MINIMUM; espeak_SetParameter(espeakRATE, rate, 0); }
static void spk_setRate (volatile SpeechSynthesizer *spk, unsigned char setting) { relativeRate = getIntegerSpeechRate(setting, 100) - 100; speechdAction(setRate, NULL); logMessage(LOG_DEBUG, "set rate: %u -> %d", setting, relativeRate); }