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/sequence4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/sound/sequence b/data/sound/sequence
index 683ea59..1bdc966 100644
--- a/data/sound/sequence
+++ b/data/sound/sequence
@@ -1,7 +1,9 @@
import sys
import random
-sys.path.append('/usr/share/activities/Pippy.activity/sound')
+from sugar.activity.activity import get_bundle_path
+sys.path.append(get_bundle_path() + '/sound')
from snd import *
+
for i in range(25):
pitch = random.randint(500,2000)
amplitude = 5000