Can not fix after key squency between 2 key correct sequence with CHARTGPT(always looping to slow same)

i ask many times for the same problem with this programming

let me first explain what function do in this program

load music, press M to record point when playing music

using Z and X to go back or forward key

typing a s d… to key those key of node,

Problems
when i finish to key 1 2 3 4 5 6 node in timeline
let say i want to key 7point between 4 and 5 timeline,

timing key should
1 2 3 4 7 5 6
however when press z or x in 7
it won’t go to point 4 or 5
it always go to point 6

many times ask GPT it looping the same problems not fix

so this is not code you have written?
how much experience do you have coding?

one thing you may not know, if your keyboard is not a standard QWERTY, then event.code can be unexpected values. Use event.key instead like you are doing in the other part of the code

1 Like