Beispiel #1
0
 def modalTranspose(self):
     from . import pitch
     cursor = self.mainwindow().textCursor()
     transposer = pitch.getModalTransposer(cursor.document(),
                                           self.mainwindow())
     if transposer:
         pitch.transpose(cursor, transposer, self.mainwindow())
Beispiel #2
0
 def transpose(self):
     from . import pitch
     cursor = self.mainwindow().textCursor()
     pitch.transpose(cursor, self.mainwindow())
Beispiel #3
0
 def transpose(self):
     from . import pitch
     cursor = self.mainwindow().textCursor()
     transposer = pitch.getTransposer(cursor.document(), self.mainwindow())
     if transposer:
         pitch.transpose(cursor, transposer, self.mainwindow(), self.get_absolute(cursor.document()))
Beispiel #4
0
 def modeShift(self):
     from . import pitch
     cursor = self.mainwindow().textCursor()
     transposer = pitch.getModeShifter(cursor.document(), self.mainwindow())
     if transposer:
         pitch.transpose(cursor, transposer, self.mainwindow())
Beispiel #5
0
 def simplifyAccidentals(self):
     from . import pitch
     import ly.pitch.transpose
     cursor = self.mainwindow().textCursor()
     transposer = ly.pitch.transpose.Simplifier()
     pitch.transpose(cursor, transposer, self.mainwindow(), self.get_absolute(cursor.document()))