This helps the player to remember what the key signature is . The time signature , however , is only written at the beginning of the piece ( the order is : clef â `` key signature â `` time signature ) . The effect of a key signature continues throughout a piece or movement , unless explicitly canceled by another key signature .