Es soll: die Druckdauer der Aktionstaste bestimmt werden


Standardtastenfunktion:

Event 1: (Parallel Process)

Code:
Enter Password (Tastendruck) 5 (Wait until Key hit)
Change Variable (Druckdauer) Set 0
Cycle
 Wait 0,0 Sek
 Change Variable (Druckdauer) + 1
 Enter Password (Tastendruck) 5
 Fork (Tastendruck) 5 others
   Break Cycle
 End Case
End Cycle

Keypatchfunktion:

Event 1: (Parallel Process)

Code:
cycle
 Change Variable (Tastendruck) Set Midi Pos Tick
 Fork (Tastendruck) 5 same
   Change Variable (Druckdauer) Set 0
   break cycle
 End Case
end cycle
cycle
 Wait 0,0 Sek
 Change Variable (Druckdauer) + 1
 Change Variable (Tastendruck) Set Midi Pos Tick
 Fork (Tastendruck) -5 same
   break cycle
 End Case
end cycle
Du siehst also, die beiden Möglichkeiten nehmen sich nicht wirklich viel.