Set the default Python interpreter to python3

Rename shorts variables to long name
parent c13c3ef1
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""This module supply Effect, EffectChain and specialized effects: Disto, Freeverb and FreqShift (list to be scaled up)"""
......
......@@ -311,10 +311,10 @@ if __name__ == "__main__":
if total > 0 and fails == 0:
manager = InstrumentManager("iMgr")
manager.setStandardInstruments()
i = manager.children["1"]
patLive = pyo.Pattern(i.liveBuffer.refreshView, 0.05).play()
patFixed = pyo.Pattern(i.fixedBuffer.refreshView, 0.05).play()
i.liveBuffer.view()
i.fixedBuffer.view()
instrument = manager.children["1"]
patLive = pyo.Pattern(instrument.liveBuffer.refreshView, 0.05).play()
patFixed = pyo.Pattern(instrument.fixedBuffer.refreshView, 0.05).play()
instrument.liveBuffer.view()
instrument.fixedBuffer.view()
audioServer.start()
audioServer.gui(locals())
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""This module encapsulate the OSC mechanism"""
......
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""This module supply everything about tracks."""
......@@ -426,27 +427,27 @@ if __name__ == "__main__":
from configuration import commandLine
oscRouter = OscRootNode("tracks", oscPort=commandLine.port)
t = pyo.SndTable(pyo.SNDS_PATH + "/transparent.aif")
t.length = t.getDur() # mimic NewTable length attribute
p = ParticleTrack('particle',t)
oscRouter.addChild(p)
p.play()
p.centerController.ctrl(title="particle pitch center")
#p.controller.ctrl(title="pitch controller")
m = pyo.Mix(p, 2).out()
l = LooperTrack('looper',t)
oscRouter.addChild(l)
l.setMulController(.5)
l.setFreqController(.5)
l.setController(pyo.BrownNoise())
table = pyo.SndTable(pyo.SNDS_PATH + "/transparent.aif")
table.length = table.getDur() # mimic NewTable length attribute
particle = ParticleTrack('particle',t)
oscRouter.addChild(particle)
particle.play()
particle.centerController.ctrl(title="particle pitch center")
#particle.controller.ctrl(title="pitch controller")
mixer = pyo.Mix(particle, 2).out()
looper = LooperTrack('looper',t)
oscRouter.addChild(looper)
looper.setMulController(.5)
looper.setFreqController(.5)
looper.setController(pyo.BrownNoise())
# Next do not do anything, because there is no Freq attribute in pyo.BrownNoise, but print information
l.setFreqController(.5)
#l.out()
#l.centerController.ctrl()
#l.controller.ctrl()
#l.ctrl()
looper.setFreqController(.5)
#looper.out()
#looper.centerController.ctrl()
#looper.controller.ctrl()
#looper.ctrl()
audioServer.start()
audioServer.gui(locals())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment