Ejemplo n.º 1
0
 def deviation():
     self.devList.clear()
     self.refreshTable()
     for i in range(self.envAr.size):
         x = self.envAr[i] - self.envAr[i - 1]
         self.devList.append(x)
     self.mul += pyo.Choice(self.devList, self.res)
Ejemplo n.º 2
0
 def playback1(self):
     freqs = self.message_translation
     self.env2 = pyo.Fader(fadein=.1, fadeout=1, dur=10.01).play()
     rand = pyo.Choice(choice=freqs, freq=[1, self.message_length])
     osc = pyo.SuperSaw(freq=[rand, rand / 2, rand / 3],
                        detune=.5,
                        bal=0.8,
                        mul=self.env2).out()
     d = pyo.Delay(osc, delay=[.2, .5, .75], feedback=.5, mul=self.env2)
     panner = pyo.Pan(d,
                      outs=2,
                      pan=random.random(),
                      spread=random.random()).out()
     time.sleep(self.env2.dur + .001)
Ejemplo n.º 3
0
 def pick_new_freq():
     glissando.value = pyo.Choice(choice=self.message_translation,
                                  freq=[1, 3])