Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/sound/sequence
diff options
context:
space:
mode:
Diffstat (limited to 'data/sound/sequence')
-rw-r--r--data/sound/sequence10
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()