All these files were removed since accidental commit, revert and merge in 2.8.ea31f0ac3b+0a4e170c28+11f9a23a28+7b27b10fa6
10 lines
340 B
Python
10 lines
340 B
Python
#!/usr/bin/python
|
|
import aud, sys, time, multiprocessing
|
|
device = aud.Device()
|
|
ir = aud.ImpulseResponse(aud.Sound.file(sys.argv[2]))
|
|
threadPool = aud.ThreadPool(multiprocessing.cpu_count())
|
|
sound = aud.Sound.file(sys.argv[1]).convolver(ir, threadPool)
|
|
handle = device.play(sound)
|
|
handle.volume = 0.1
|
|
while handle.status:
|
|
time.sleep(0.1) |