Added drop-down to specify length of melody.