/** * Copy constructor. * * @param n note to be copied * @author Marcel Karras */ public Note(final Note n) { this.noteString = n.noteString; this.breakPoints = n.breakPoints; this.duration = n.getDuration(); this.dynamic = n.getDynamic(); this.myPhrase = n.getMyPhrase(); this.offset = n.offset; this.pan = n.pan; this.pitch = n.pitch; this.pitchType = n.pitchType; this.rhythmValue = n.rhythmValue; this.sampleStartTime = n.sampleStartTime; }