Example #1
0
    def __init__(self, ln):
        """ We need special init here incase this is converted to drumType.
            If we don't have a toneList, we're screwed.
        """

        self.toneList = [self.drumTone]
        PC.__init__(self, ln)   # This order is important!
Example #2
0
    def __init__(self, ln):
        """ init for drum track. """

        self.toneList = [38]

        PC.__init__(self, ln)  # This order is important!

        self.setChannel('10')
        if not gbl.mtrks[self.channel].trackname:
            gbl.mtrks[self.channel].addTrkName(0, 'Drum')
Example #3
0
    def __init__(self, nm):
        PC.__init__(self, nm)

        # We have vibrating strings (a string in python refers to text not a guitar string)
        self._vibrating = []
        self._lastOff = []
        self._tuning = []
        self.strumCenter = 0  # default to use 'start'
        self._capoFretNo = 0  # The number that the capo is on (0 for open strings)
        self.setPlectrumTuning(['e-', 'a-', 'd', 'g', 'b', 'e+'])
        self.fretNoise = None
        self.lastChord = None
        self._chordShapes = {}
Example #4
0
 def __init__(self, ln):
     self.voicing = Voicing()
     PC.__init__(self, ln)
Example #5
0
 def __init__(self, ln):
     
     PC.__init__(self, ln)