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())
def transpose(self): from . import pitch cursor = self.mainwindow().textCursor() pitch.transpose(cursor, self.mainwindow())
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()))
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())
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()))