06-16-2021, 02:05 PM
updated selectedNotes to selection.notes and removed song.update apparently
multiplier = parseFloat(prompt("How much do you want to scale?"))
for(i = 0; i < selection.notes.length; i++){
note = selection.notes[i]
song.moveNote(note, note.instrument, note.instrument, note.time, note.time*multiplier, note.type, note.type)
}
multiplier = parseFloat(prompt("How much do you want to scale?"))
for(i = 0; i < selection.notes.length; i++){
note = selection.notes[i]
song.moveNote(note, note.instrument, note.instrument, note.time, note.time*multiplier, note.type, note.type)
}