diff options
author | Walter 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) |
commit | 3f588a5f8e2f9fbaf2c2329eb23a34c362d7a345 (patch) | |
tree | 7afc207a0f31af33baa3f35fe803169ae3ac03c4 /pysamples/sinewave.py | |
parent | 1969d568bb440424d4128f627ac62ad3d5c62172 (diff) |
added comments to Python samples (#2709)
Diffstat (limited to 'pysamples/sinewave.py')
-rw-r--r-- | pysamples/sinewave.py | 4 |
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): |