Bugfixs
This commit is contained in:
parent
ba927a9ab4
commit
fe6a56efaa
Binary file not shown.
@ -397,7 +397,7 @@ def MidinProcess(inqueue, portname):
|
||||
#print(param["name"]+"/"+ str(msg[1])+"/"+str(msg[2]))
|
||||
SendOSC(param["name"],[msg[0]-175-1, msg[1], msg[2]])
|
||||
toKeyevent(param["name"]+"/"+ str(MidiChannel)+"/"+str(msg[1])+"/"+str(msg[2]))
|
||||
|
||||
toKey(param["name"],str(MidiChannel)+"/"+str(msg[1])+"/"+str(msg[2]))
|
||||
|
||||
if msg[0] == TIMING_CLOCK:
|
||||
now = time.time()
|
||||
@ -487,8 +487,8 @@ def NoteOn(note, color, mididest, midichannel=0):
|
||||
ClsCli3()
|
||||
if 6< y < 9:
|
||||
ClsCli4()
|
||||
|
||||
PadNoteOnXY(x,y,red)
|
||||
if y < 8 and x < 8:
|
||||
PadNoteOnXY(x,y,red)
|
||||
|
||||
|
||||
|
||||
@ -851,6 +851,7 @@ def PadNoteOffXY(x,y):
|
||||
PadLeds[BhorNoteXY(x,y)]=0
|
||||
|
||||
def PadNoteXY(x,y):
|
||||
#print(str(x),str(y))
|
||||
note = LaunchLedMatrix[int(y-1)][int(x-1)]
|
||||
return note
|
||||
|
||||
@ -901,7 +902,7 @@ def TopUpdate(button, color):
|
||||
|
||||
def RightUpdate():
|
||||
for pad in range(8):
|
||||
print(pad,PadRight[pad])
|
||||
#print(pad,PadRight[pad])
|
||||
PadRightOn(pad, PadRight[pad])
|
||||
if PadRight[pad] == 0:
|
||||
SendOSCUI('/pad/r'+ str(pad) +'/button', [0])
|
||||
|
Loading…
Reference in New Issue
Block a user