-
Notifications
You must be signed in to change notification settings - Fork 14
/
hs-barber.py
29 lines (20 loc) · 744 Bytes
/
hs-barber.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/python
# HeadSpace HRTF Library
# Graphical Filter Interface
# Author: Christopher Rabl
# Modified: April 22, 2012
from pyo import *
from headspace import *
s = Server().boot()
s.start()
shaverWav = SfPlayer("testfiles/shaver.wav", loop=True)
shaver = HeadSpace(shaverWav, 0, 0).out()
shaver.ctrl(title="Shaver")
backgroundWav = SfPlayer("testfiles/VictorOrchestra-BlackWhiteRagtime.wav", loop=True)
background = HeadSpace(backgroundWav, 100, 30).out()
dooropenWav = SfPlayer("testfiles/dooropen.wav", loop=True)
dooropen = HeadSpace(dooropenWav, -20, -10).out()
phoneringWav = SfPlayer("testfiles/phonering.wav", loop=True)
phonering = HeadSpace(phoneringWav, -150, -20).out()
phonering.ctrl(title="Phone Ring")
s.gui(locals())