diff options
Diffstat (limited to 'pysamples/sinewave.py')
-rw-r--r-- | pysamples/sinewave.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pysamples/sinewave.py b/pysamples/sinewave.py index 4ddf3b4..54a0700 100644 --- a/pysamples/sinewave.py +++ b/pysamples/sinewave.py @@ -21,8 +21,12 @@ # 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(lc, frequency): + +def myblock(tw, frequency): ########################################################################### # |