Files
blender/extern/audaspace/bindings/python/examples/player.py
Germano ea31f0ac3b tmp
2018-01-31 22:11:01 -02:00

8 lines
164 B
Python

#!/usr/bin/python
import aud, sys, time
device = aud.Device()
sound = aud.Sound.file(sys.argv[1])
handle = device.play(sound)
while handle.status:
time.sleep(0.1)