Skip to content

Commit

Permalink
Fix tutorial reference to sing function.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntoll committed Jul 17, 2016
1 parent 005e1ec commit c51fdcb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/tutorials/speech.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ The mapping from pitch numbers to musical notes is shown below:

The ``sing`` function must take phonemes and pitch as input like this::

speech.sing("DOWWWW", 115)
speech.sing("#115DOWWWW")

Notice how the pitch to be sung is prepended to the phoneme with a hash
(``#``). The pitch will remain the same for subsequent phonemes until a new
pitch is annotated.

The following example demonstrates how all three generative functions (``say``,
``pronounce`` and ``sing``) can be used to produce speech like output:
Expand Down

0 comments on commit c51fdcb

Please sign in to comment.