diff options
Diffstat (limited to 'data/sound/sequence')
-rw-r--r-- | data/sound/sequence | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/sound/sequence b/data/sound/sequence new file mode 100644 index 0000000..f870094 --- /dev/null +++ b/data/sound/sequence @@ -0,0 +1,12 @@ +import sys +import random +sys.path.append('/usr/share/activities/Pippy.activity/sound') +from snd import * +for i in range(25): + pitch = random.randint(500,2000) + amp = 5000 + dur = 0.1 + starttime = i * 0.1 + playSine(pitch, amp, dur, starttime) +audioOut() + |