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, toStringpublic boolean isOn()
EventNote that an event can transition from off to on multiple times before an on to off transition occurs.
public Slot getSlot()
EventEqual slots are events occurring for the same channel and key.
public PedalEvent createOff(long offTime)
EventCopyright © 2015 Kreatious LLC. All rights reserved.