/** * Sets the key signature of the Score * * @param keySig the key signature to set the Score to */ public void setKeySignature(int keySig) { Trace.log(2, "setting key signature of score to " + keySig); this.keySig = keySig; chordProg.setKeySignature(keySig); ListIterator<MelodyPart> i = partList.listIterator(); while (i.hasNext()) { i.next().setKeySignature(keySig); } }