Posted 20 February 2013 - 12:52 PM
I am having issues with os.startTimer in http://www.computerc...player-cctunes/
I put timer = os.startTimer(song["delay"]) befor while i * song["delay"] < song["lenght"] + 1 do right after
but when I use it the song seems to keep increasing in speed after each key press, until is give me an error for more then 5 notes per tick on a single block. :(/>
I put timer = os.startTimer(song["delay"]) befor while i * song["delay"] < song["lenght"] + 1 do right after
file = io.open( "Music/" .. selectedsong )
filedata = file:read()
file:close()
and after while i * song["delay"] < song["lenght"] + 1 do replacing
os.sleep(song["delay"])
but when I use it the song seems to keep increasing in speed after each key press, until is give me an error for more then 5 notes per tick on a single block. :(/>