public class PedalEvent extends Event
Modifier and Type | Method and Description |
---|---|
PedalEvent |
createOff(long offTime)
Creates a new off event of the same type and slot with the specified
timestamp.
|
Pedal |
getPedal() |
Slot |
getSlot()
Gets a slot that uniquely identifies which interval events belong to.
|
boolean |
isOn()
Gets if this event is an off to on transition.
|
getChannel, getTime, toString
public boolean isOn()
Event
Note that an event can transition from off to on multiple times before an on to off transition occurs.
public Slot getSlot()
Event
Equal slots are events occurring for the same channel and key.
public PedalEvent createOff(long offTime)
Event
Copyright © 2015 Kreatious LLC. All rights reserved.