From 882ca534ca2154b49302df595b37ad3f85076539 Mon Sep 17 00:00:00 2001 From: olipet Date: Thu, 23 Aug 2007 09:16:53 +0000 Subject: playing wave file example --- (limited to 'data') 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() + -- cgit v0.9.1