<doc>
  <legacy_id>1036</legacy_id>
  <name>revSetSpeechSpeed</name>
  <type>command</type>
  <syntax>
    <example>revSetSpeechSpeed <i>wordsPerMinute</i></example>
  </syntax>
  <library>Speech library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <command tag="revSetSpeechPitch">revSetSpeechPitch Command</command>
    <command tag="revSetSpeechVoice">revSetSpeechVoice Command</command>
    <command tag="revSpeak">revSpeak Command</command>
    <command tag="revSetSpeechProvider">revSetSpeechProvider Command</command>
    <function tag="revGetSpeechVolume">revGetSpeechVolume Function</function>
  </references>
  <history>
    <introduced version="2.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Sets the speed at which the <command tag="revSpeak">revSpeak</command> <glossary tag="command">command</glossary> speaks.</summary>
  <examples>
    <example>revSetSpeechSpeed 30</example>
    <example>revSetSpeechSpeed field "WPM"</example>
  </examples>
  <description>
    <p>Use the <b>revSetSpeechSpeed</b> <glossary tag="command">command</glossary> to speed up or slow down <glossary tag="text to speech">speech</glossary>.</p><p/><p><b>Parameters:</b></p><p>The <i>wordsPerMinute</i> is an integer between 1 and 300.</p><p/><p><b>Comments:</b></p><p>The greater the <i>wordsPerMinute</i>, the faster the speech. (A normal speech rate for English is approximately 150 words per minute.)</p><p/><p>The speed specified by the <b>revSetSpeechSpeed</b> <glossary tag="command">command</glossary> is used for all speeches following the <glossary tag="command">command</glossary> during the current session. If the computer is already speaking when you <glossary tag="execute">execute</glossary> the <glossary tag="command">command</glossary>, the new speed affects the current speech.</p><p/><p>If text to speech is not available on the current system, the <b>revSetSpeechSpeed</b> <glossary tag="command">command</glossary> sets the <function tag="result">result</function> <control_st tag="function">function</control_st> to an error message.</p><p/><p><img src="202653"/> <b>Important!</b> The <b>revSetSpeechSpeed</b> <glossary tag="command">command</glossary> is part of the <glossary tag="Speech library">Speech library</glossary>. To ensure that the <glossary tag="command">command</glossary> works in a <glossary tag="standalone application">standalone application</glossary>, you must include this <glossary tag="LiveCode custom library">custom library</glossary> when you create your <glossary tag="standalone application">standalone</glossary>. In the Inclusions section on the General screen of the <glossary tag="Standalone Application Settings">Standalone Application Settings</glossary> window, make sure "Speech" is selected in the list of script libraries.</p>
  </description>
</doc>