0 Members and 4 Guests are viewing this topic.
-- final string syntax : table of "[Note][Octave][Length][Alteration]", for example : "C342"-- with C the note, 3 for the 3rd octave (middle of a regular piano keyboard I think), 4 for the eight-note length-- (whole note is 1, half is 2, fourth is 3, sixteenth is 5), 2 for sharp (1 is flat, 0 is natural)
if notelen > 3 then gc:drawArc(x-8*scale+test(y>90)*12*scale,y-test(y>90)*30*scale+test(y<90)*10*scale,scale*18,scale*20,0,90-180*test(y<90)) if notelen == 5 then gc:drawArc(x-8*scale+test(y>90)*12*scale,y-test(y>90)*20*scale,scale*18,scale*20,0,90-180*test(y<90)) end end
Sure, but I don't think this would be useful in games, as you can't do anything while its playing.I could try to implant it a bit different, but I don't know if the way I have in my mind will work good.