diff --git a/engine/api.py b/engine/api.py index fad5b31..7ca80dc 100644 --- a/engine/api.py +++ b/engine/api.py @@ -524,7 +524,7 @@ def pasteObjects(customBuffer=None, updateCursor=True, overwriteSelection=True): if updateCursor: callbacks._setCursor() -def pasteObjectsTransposedReal(root:int=None, toPitch:int=None, adjustToKeySignKeySignature=False): +def pasteObjectsTransposedReal(root:int=None, toPitch:int=None, adjustToKeySignature=False): """Uses the global/session clipboard buffer but pastes a transposed version, starting on the pitch cursor position, that is adjusted to the current keysignature. @@ -1987,6 +1987,7 @@ def commonMetricalInstructionsAsList(): "3/8", "1/1", "3/2", + "8/4", ] def insertCommonMetricalInstrucions(scheme, setInitialInsteadCursorInsert=False): @@ -2003,6 +2004,7 @@ def insertCommonMetricalInstrucions(scheme, setInitialInsteadCursorInsert=False) "3/8" : (D8, D8, D8), "1/1" : (D1,), "3/2" : (D2, D2, D2), + "8/4" : (((D4, D4), (D4, D4)), ((D4, D4), (D4, D4))), #combination of two 4/4 but the "second measure" is not as important. } lilypond = { "off" : "\\mark \"X\" \\cadenzaOn", @@ -2015,6 +2017,7 @@ def insertCommonMetricalInstrucions(scheme, setInitialInsteadCursorInsert=False) "3/8" : "\\cadenzaOff \\time 3/8", "1/1" : "\\cadenzaOff \\time 1/1", "3/2" : "\\cadenzaOff \\time 3/2", + "8/4" : "\\cadenzaOff \\time 8/4", } if setInitialInsteadCursorInsert: