function song = makesong(keys1,keys2,keys3,dur1,dur2,dur3,piano); notes1=[]; for i=1:length(keys1); notes1=[notes1 note(keys1(i),dur1(i),piano)]; end notes2=[]; for i=1:length(keys2); notes2=[notes2 note(keys2(i),dur2(i),piano)]; end notes3=[]; for i=1:length(keys3); notes3=[notes3 note(keys3(i),dur3(i),piano)]; end x=length(notes1); y=length(notes2); z=length(notes3); if x