getScoreStruct

maelzel.core.workspace.getScoreStruct()[source]

Returns the active ScoreStruct (which defines tempo and time signatures)

If no ScoreStruct has been set explicitely, a default struct is always active. To create a new scorestruct and set it as active use ScoreStruct(...).activate()

This function is here for visibility. The preferred way to access the active scorestruct is via Workspace.active.scorestruct :rtype: ScoreStruct

See also