|
|
|
@ -97,9 +97,16 @@ void AtisSpeaker::valueChanged(SGPropertyNode * node)
|
|
|
|
|
if (!fgGetBool("/sim/sound/working", false))
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
SG_LOG("commradio:AtisSpeaker",SG_INFO,"node:" << node);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string newText = node->getStringValue();
|
|
|
|
|
|
|
|
|
|
SG_LOG("commradio:AtisSpeaker",SG_INFO,"newText:" << newText);
|
|
|
|
|
|
|
|
|
|
if (_synthesizeRequest.text == newText) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_synthesizeRequest.text = newText;
|
|
|
|
|
|
|
|
|
|
string voice = "cmu_us_arctic_slt";
|
|
|
|
|