Ejemplo n.º 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!
Ejemplo n.º 2
0
    def __init__(self, ln):
        """ init for drum track. """

        PC.__init__(self, ln)
        
        self.setChannel('10')
        if not gbl.mtrks[self.channel].trackname:
            gbl.mtrks[self.channel].addTrkName(0, 'Drum')
Ejemplo n.º 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._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+'])
Ejemplo n.º 4
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._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+'])
Ejemplo n.º 5
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')
Ejemplo n.º 6
0
 def __init__(self, ln):
     self.voicing = Voicing()
     PC.__init__(self, ln)
Ejemplo n.º 7
0
 def __init__(self, ln):
     self.voicing = Voicing()
     PC.__init__(self, ln)
Ejemplo n.º 8
0
    def __init__(self, ln):

        PC.__init__(self, ln)
Ejemplo n.º 9
0
    def __init__(self, ln):

        PC.__init__(self, ln)