Unsinnigen Kommentar entfernt
This commit is contained in:
parent
6ff270e7c0
commit
aa7a1a4dd1
1 changed files with 0 additions and 1 deletions
1
drum.py
1
drum.py
|
@ -35,7 +35,6 @@ def proc_event(event,midi_out):
|
|||
elif event.type == JOYAXISMOTION:
|
||||
#print("axis %d value %0.3f" % (event.axis, event.value))
|
||||
try:
|
||||
# Bei analogen Joysticks erst ab einem Fuenftel reagieren
|
||||
if abs(event.value) > 0:
|
||||
VELOCITY = int(abs(event.value) * 127)
|
||||
#VELOCITY = 100
|
||||
|
|
Loading…
Reference in a new issue