diff options
Diffstat (limited to 'pysamples/sinewave.py')
-rw-r--r-- | pysamples/sinewave.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pysamples/sinewave.py b/pysamples/sinewave.py index eea975d..4ddf3b4 100644 --- a/pysamples/sinewave.py +++ b/pysamples/sinewave.py @@ -21,13 +21,14 @@ # This procedure is invoked when the user-definable block on the "extras" # palette is selected. -def myblock(lc, x): + +def myblock(lc, frequency): ########################################################################### # - # Plays a sound at frequency x + # Plays a sound at frequency frequency # ########################################################################### import os - os.system('speaker-test -t sine -l 1 -f %d' % (int(x))) + os.system('speaker-test -t sine -l 1 -f %d' % (int(frequency))) |