diff options
author | Nathanaël Lécaudé <natcl@hotmail.com> | 2007-08-23 14:29:45 (GMT) |
---|---|---|
committer | Nathanaël Lécaudé <natcl@hotmail.com> | 2007-08-23 14:29:45 (GMT) |
commit | 8b76bdb87e9be3479d3fc79bd660ad5385faebc7 (patch) | |
tree | 07ea20c11110eda063ca46802c1ef71705fd8c6c /data | |
parent | 67e0d36e419fcec2ce913208c932f441333cfca0 (diff) |
Changed some names in soundlib to be more kid like
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() |