diff options
Diffstat (limited to 'extern/audaspace/bindings/python/examples/simple.py')
-rw-r--r-- | extern/audaspace/bindings/python/examples/simple.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extern/audaspace/bindings/python/examples/simple.py b/extern/audaspace/bindings/python/examples/simple.py new file mode 100644 index 00000000000..7aa45b41042 --- /dev/null +++ b/extern/audaspace/bindings/python/examples/simple.py @@ -0,0 +1,7 @@ +#!/usr/bin/python +import aud, time +device = aud.Device() +sine = aud.Sound.sine(440) +square = sine.threshold() +handle = device.play(square) +time.sleep(3) |