Beispiel #1
0
    def _start(self):
        #self.fader = Gain()
        #self.fader.fade(0, 1., 10)
        self.trem = TremoloTexture()
        #route(self.trem, self.fader)
        #route(self.fader, midi)
        for _ in xrange(2):
            self.trem.play()

        self.hits = ChordHits()
        self.hits.play()
Beispiel #2
0
class TremAndHitsSection(Section):
    kill = []
    def _start(self):
        #self.fader = Gain()
        #self.fader.fade(0, 1., 10)
        self.trem = TremoloTexture()
        #route(self.trem, self.fader)
        #route(self.fader, midi)
        for _ in xrange(2):
            self.trem.play()
        
        self.hits = ChordHits()
        self.hits.play()

    def _stop(self):
        self.hits.stop()
        self.trem.stop()
        self.fader.vel_multiplier = 0.
Beispiel #3
0
class TremAndHitsSection(Section):
    kill = []

    def _start(self):
        #self.fader = Gain()
        #self.fader.fade(0, 1., 10)
        self.trem = TremoloTexture()
        #route(self.trem, self.fader)
        #route(self.fader, midi)
        for _ in xrange(2):
            self.trem.play()

        self.hits = ChordHits()
        self.hits.play()

    def _stop(self):
        self.hits.stop()
        self.trem.stop()
        self.fader.vel_multiplier = 0.
Beispiel #4
0
 def _start(self):
     #self.fader = Gain()
     #self.fader.fade(0, 1., 10)
     self.trem = TremoloTexture()
     #route(self.trem, self.fader)
     #route(self.fader, midi)
     for _ in xrange(2):
         self.trem.play()
     
     self.hits = ChordHits()
     self.hits.play()