diff options
Diffstat (limited to 'data/sound/sequence')
-rw-r--r-- | data/sound/sequence | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/data/sound/sequence b/data/sound/sequence index 1577c9d..3922e7a 100644 --- a/data/sound/sequence +++ b/data/sound/sequence @@ -1,14 +1,10 @@ -import sys -import random -from sugar.activity.activity import get_bundle_path -sys.path.append(get_bundle_path() + '/sound') -from sound import * +import pippy, random for i in range(25): pitch = random.randint(500,2000) amplitude = 5000 duration = 0.1 starttime = i * 0.1 - playSine(pitch, amplitude, duration, starttime) -audioOut() + pippy.sound.playSine(pitch, amplitude, duration, starttime) +pippy.sound.audioOut() |