Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (11 sloc) 270 Bytes
from pyo import *
s = Server()
s.setMidiInputDevice(2)
s.boot()
s.start()
m = Midictl(ctlnumber=[28,31], minscale=250, maxscale=1000)
p = Port(m, .02)
a = Sine(freq=p, mul=.3).out()
a1 = Sine(freq=p*1.25, mul=.3).out()
a2 = Sine(freq=p*1.5, mul=.3).out()
s.gui(locals())