Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/speak.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-21 22:25:27 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-21 22:25:27 (GMT)
commit3f588a5f8e2f9fbaf2c2329eb23a34c362d7a345 (patch)
tree7afc207a0f31af33baa3f35fe803169ae3ac03c4 /pysamples/speak.py
parent1969d568bb440424d4128f627ac62ad3d5c62172 (diff)
added comments to Python samples (#2709)
Diffstat (limited to 'pysamples/speak.py')
-rw-r--r--pysamples/speak.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pysamples/speak.py b/pysamples/speak.py
index f7a1cf7..03f47bc 100644
--- a/pysamples/speak.py
+++ b/pysamples/speak.py
@@ -22,6 +22,11 @@
# This procedure is invoked when the user-definable block on the "extras"
# palette is selected.
+# Usage: Import this code into a Python (user-definable) block and
+# pass a string to be read by the voice synthesizer. If a second
+# argument is passed, by expanding the Python block, it is used to specify
+# the pitch level of the speaker. Valid range is 0 to 99.
+
def myblock(tw, arg):