diff options
author | Nathanaël Lécaudé <natcl@hotmail.com> | 2007-08-29 17:32:33 (GMT) |
---|---|---|
committer | Nathanaël Lécaudé <natcl@hotmail.com> | 2007-08-29 17:32:33 (GMT) |
commit | 4cc46e3dd4ebb4713e87c8e677d4b44580574f3a (patch) | |
tree | 29921f1e97180e92a28b2c9323cf652ad3d9b2af | |
parent | 1457178256ce8b46e250b396d8b506613f68a089 (diff) |
renamed snd to sound
-rw-r--r-- | data/sound/getSoundList | 2 | ||||
-rw-r--r-- | data/sound/playSine | 2 | ||||
-rw-r--r-- | data/sound/playWave | 2 | ||||
-rw-r--r-- | data/sound/sequence | 2 | ||||
-rw-r--r-- | data/sound/sndInfo | 2 | ||||
-rwxr-xr-x | sound/sound.py (renamed from sound/snd.py) | 0 |
6 files changed, 5 insertions, 5 deletions
diff --git a/data/sound/getSoundList b/data/sound/getSoundList index 317ba41..12890e0 100644 --- a/data/sound/getSoundList +++ b/data/sound/getSoundList @@ -1,7 +1,7 @@ import sys from sugar.activity.activity import get_bundle_path sys.path.append(get_bundle_path() + '/sound') -from snd import * +from sound import * for sound in getSoundList(): print sound
\ No newline at end of file diff --git a/data/sound/playSine b/data/sound/playSine index a641b72..cd97576 100644 --- a/data/sound/playSine +++ b/data/sound/playSine @@ -1,7 +1,7 @@ import sys from sugar.activity.activity import get_bundle_path sys.path.append(get_bundle_path() + '/sound') -from snd import * +from sound import * playSine() audioOut() diff --git a/data/sound/playWave b/data/sound/playWave index 471ca31..27605bd 100644 --- a/data/sound/playWave +++ b/data/sound/playWave @@ -1,7 +1,7 @@ import sys from sugar.activity.activity import get_bundle_path sys.path.append(get_bundle_path() + '/sound') -from snd import * +from sound import * playWave(sound='didjeridu', loop=True, duration=5) audioOut() diff --git a/data/sound/sequence b/data/sound/sequence index 1bdc966..1577c9d 100644 --- a/data/sound/sequence +++ b/data/sound/sequence @@ -2,7 +2,7 @@ import sys import random from sugar.activity.activity import get_bundle_path sys.path.append(get_bundle_path() + '/sound') -from snd import * +from sound import * for i in range(25): pitch = random.randint(500,2000) diff --git a/data/sound/sndInfo b/data/sound/sndInfo index 0a337f9..529995e 100644 --- a/data/sound/sndInfo +++ b/data/sound/sndInfo @@ -1,6 +1,6 @@ import sys from sugar.activity.activity import get_bundle_path sys.path.append(get_bundle_path() + '/sound') -from snd import * +from sound import * print playSine.__doc__ diff --git a/sound/snd.py b/sound/sound.py index 3699ac6..3699ac6 100755 --- a/sound/snd.py +++ b/sound/sound.py |