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

Return type:

ScoreStruct

Note

The active scorestruct can be set via setScoreStruct(newscore) (setScoreStruct())

If the current score structure has no multiple tempos, the tempo can be modified via setTempo().

See also