Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/audaspace/bindings/python/examples/siren.py')
-rw-r--r--extern/audaspace/bindings/python/examples/siren.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/extern/audaspace/bindings/python/examples/siren.py b/extern/audaspace/bindings/python/examples/siren.py
deleted file mode 100644
index 071279b162d..00000000000
--- a/extern/audaspace/bindings/python/examples/siren.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-import aud, math, time
-length = 0.5
-fadelength = 0.05
-
-device = aud.Device()
-high = aud.Sound.sine(880).limit(0, length).fadein(0, fadelength).fadeout(length - fadelength, length)
-low = aud.Sound.sine(700).limit(0, length).fadein(0, fadelength).fadeout(length - fadelength, length).volume(0.6)
-sound = high.join(low)
-handle = device.play(sound)
-handle.loop_count = -1
-
-start = time.time()
-
-while time.time() - start < 10:
- angle = time.time() - start
-
- handle.location = [math.sin(angle), 0, -math.cos(angle)]
-