/** * Writes the Score to the BufferedWriter passed to this method in Leadsheet notation. * * @param out a BufferedWriter to save the score onto */ public void saveLeadsheet(BufferedWriter out) throws IOException { Chord.initSaveToLeadsheet(); chordProg.saveLeadsheet(out, "chords"); out.newLine(); ListIterator<MelodyPart> i = partList.listIterator(); while (i.hasNext()) { ((MelodyPart) i.next()).saveLeadsheet(out, "melody"); out.newLine(); } }