From a308a5425f6f7bed7fc15ba43d9bf3f1894083fa Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 27 Jul 2013 22:38:22 +0000 Subject: remove extra stuff --- (limited to 'pysamples/sinewave.py') diff --git a/pysamples/sinewave.py b/pysamples/sinewave.py deleted file mode 100644 index 4f14c4c..0000000 --- a/pysamples/sinewave.py +++ /dev/null @@ -1,15 +0,0 @@ -#Copyright (c) 2010-11, Tony Forster - -# 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): - ''' Plays a sound at frequency frequency ''' - - import os - os.system('speaker-test -t sine -l 1 -f %d' % (int(frequency))) -- cgit v0.9.1