diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/sound/playWave | 2 | ||||
-rw-r--r-- | data/sound/sequence | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/data/sound/playWave b/data/sound/playWave index 8279c22..9988ac3 100644 --- a/data/sound/playWave +++ b/data/sound/playWave @@ -1,6 +1,6 @@ import sys sys.path.append('/usr/share/activities/Pippy.activity/sound') from snd import * -playWave(name='didjeridu', loop=True, dur=5) +playWave(name='didjeridu', loop=True, duration=5) audioOut() diff --git a/data/sound/sequence b/data/sound/sequence index f870094..683ea59 100644 --- a/data/sound/sequence +++ b/data/sound/sequence @@ -4,9 +4,9 @@ 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 + amplitude = 5000 + duration = 0.1 starttime = i * 0.1 - playSine(pitch, amp, dur, starttime) + playSine(pitch, amplitude, duration, starttime) audioOut() |