For key setup changing, you have to change the keycodes at the raw HTML code, before testing. To do so, go here:
And change the keycodes (in case: 65 for a/left note, 83 for s/down note, 75 for k/up note, 76 for l/right note) to the keycode corresponding to the ey for your setup. Here's the list:
65 = A
66 = B
67 = C
68 = D
69 = E
70 = F
71 = G
72 = H
73 = I
74 = J
75 = K
76 = L
77 = M
78 = N
79 = O
80 = P
81 = Q
82 = R
83 = S
84 = T
85 = U
86 = V
87 = W
88 = X
89 = Y
90 = Z
Sadly, you have to change every time you're about to test the code, but, at least, you can practice with your key setup.
anyone here good with javascript? I tried to make a jumpstream version of it and it works except for two problems:
1. it generates its notes on the same column a lot of the time. I tried changing this line
while ((last.indexOf(note) != -1) && (chord.indexOf(note) != 1)) {
to this
while ((last.indexOf(note) != -1) || (chord.indexOf(note) != 1)) {
but then the code never finishes executing (infinite loop) so I must be doing something wrong w/r/t what last is holding.
2. when it scrolls up it becomes black instead. this is weird because it means it's blackening notes fine, just not redrawing them
I don't know the finer semantics of javascript arrays so maybe I'm missing something
edit: nvm, 2 is because that method crashes before it reaches the redrawing part. **** javascript's lack of exceptions
edit2: almost fixed. if I could change that first && to an || it will work but it goes into an infinite loop when I try that for some reason :/ so the initial jumpstream is all bad with zero framers but all the new stuff generated after that is fine. someone debug plz
Comment