Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Speed/pitch/variance shift is now a feature of OpenEars as of version .911. You can use it as follows:</p> <p>Change the speed, pitch and variability of a voice by using the following properties of FliteController:</p> <pre><code>duration_stretch // Duration of speech target_mean // Average pitch of speech target_stddev // Variance </code></pre> <p>For instance, right before sending this message:</p> <p>[self.fliteController say:@"A phrase I'd like my app to speak out loud." withVoice:@"cmu_us_awb8k"];</p> <p>You could make the following settings to self.fliteController:</p> <pre><code>self.fliteController.duration_stretch = 1.5; // Slow down the speed a bit self.fliteController.target_mean = 1.2; // Raise the pitch self.fliteController.target_stddev = 1.5; // Increase the variance </code></pre> <p>1.0 is the default, 0.0 is the minimum value and 2.0 is a likely maximum useful value (although you can go higher than 2.0, it probably isn't going to be a useful value). </p> <p>A duration_stretch of .5 will be twice as fast as 1.0, a duration_stretch of 2.0 will be half the speed of 1.0. A target_mean or target_stddev of 2.0 will double the average pitch frequency or double the variance, while 0.5 will reduce them by half.</p> <p>You do not have to set or override these settings — if you don’t use them, they will be set to the defaults for the voice. If you want to return them to the defaults after overriding them, simply set them all to 1.0:</p> <pre><code>self.fliteController.duration_stretch = 1.0; // Reset the speed self.fliteController.target_mean = 1.0; // Reset the pitch self.fliteController.target_stddev = 1.0; // Reset the variance </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload