function note2=noteConvert(note) m=length(note.pitch); for i=1:m note2(i).onset=note.start(i); note2(i).duration=note.duration(i); note2(i).pitch=note.pitch(i); end