Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/sinewave.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysamples/sinewave.py')
-rw-r--r--pysamples/sinewave.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pysamples/sinewave.py b/pysamples/sinewave.py
index f825317..54a0700 100644
--- a/pysamples/sinewave.py
+++ b/pysamples/sinewave.py
@@ -21,6 +21,10 @@
# 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 frequency in Hertz to the Python block. A tone will play over
+# the speaker at the specified frequency.
+
def myblock(tw, frequency):