import jp.crestmuse.cmx.filewrappers.* f = CMXFileWrapper.readfile("sample.xml") f.eachnote { note -> println note.pitchStep() }