03-10-2018, 02:46 PM
Used same fundamental code to make an "autotuner":
Use this code on the modifier:
var a=Array(0);for(i=0;i<selectedNotes.length;i++){a.push(selectedNotes[i].type)}
Then use this code on the song you want to remix:
for(i=0;i<selectedNotes.length;i++){n=selectedNotes[i];song.moveNote(n,n.instrument,n.instrument,n.time,n.time,n.type,a[i%16].slice(0,-1)+n.type.slice(-1))}
Use this code on the modifier:
var a=Array(0);for(i=0;i<selectedNotes.length;i++){a.push(selectedNotes[i].type)}
Then use this code on the song you want to remix:
for(i=0;i<selectedNotes.length;i++){n=selectedNotes[i];song.moveNote(n,n.instrument,n.instrument,n.time,n.time,n.type,a[i%16].slice(0,-1)+n.type.slice(-1))}