Skip to content

getKeySignature()

Return the score's key signature.

score.getKeySignature()

Returns

return keySignature

Value Type Description
keySignature int The key signature: 0 is the key of C, a positive number counts sharps, and a negative number counts flats.