03-18-2018, 09:01 PM
(03-18-2018, 05:58 PM)korwynkim Wrote: You really should write cleaner code and use more descriptive variable names
Here it is cleaned up
Code:multiplier = parseFloat(prompt("How much do you want to scale the note lengths?"))
for(i = 0; i < selectedNotes.length; i++){
note = selectedNotes[i]
song.moveNote(note, note.instrument, note.instrument, note.time, note.time*multiplier, note.type, note.type)
song.update(note)
}
What? No! Now it isn't as short as possible! /s
Kim Wrote:##878337 + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin