From 6f21b8133cb583901810853b478a51fe6aaea311 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 26 Feb 2011 16:48:44 +0000 Subject: pep8 cleanup --- (limited to 'pysamples/sinewave.py') 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))) -- cgit v0.9.1