diff options
author | olipet <olivier.belanger@umontreal.ca> | 2007-08-23 09:16:53 (GMT) |
---|---|---|
committer | olipet <olivier.belanger@umontreal.ca> | 2007-08-23 09:16:53 (GMT) |
commit | 882ca534ca2154b49302df595b37ad3f85076539 (patch) | |
tree | 60d6130a5c6eddfb28825c417bbd6d2fdab84d4f /data | |
parent | d6e7ce8caf6849dcc2356bfaf8885b5d1a83f74a (diff) |
playing wave file example
Diffstat (limited to 'data')
-rw-r--r-- | data/sound/playSine | 6 | ||||
-rw-r--r-- | data/sound/playWave | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/data/sound/playSine b/data/sound/playSine new file mode 100644 index 0000000..8cda42e --- /dev/null +++ b/data/sound/playSine @@ -0,0 +1,6 @@ +import sys +sys.path.append('/usr/share/activities/Pippy.activity/sound') +from snd import * +playSine() +audioOut() + diff --git a/data/sound/playWave b/data/sound/playWave new file mode 100644 index 0000000..8279c22 --- /dev/null +++ b/data/sound/playWave @@ -0,0 +1,6 @@ +import sys +sys.path.append('/usr/share/activities/Pippy.activity/sound') +from snd import * +playWave(name='didjeridu', loop=True, dur=5) +audioOut() + |