public class SimpleMetroEventBuffer extends MetroBufferedToNonBufferedMidiReceiver<MetroMidiEvent,byte[]>
Constructor and Description |
---|
SimpleMetroEventBuffer() |
SimpleMetroEventBuffer(int oneBarLengthInFrames) |
Modifier and Type | Method and Description |
---|---|
MetroMidiEvent |
event(double offset,
MetroMidiEvent event) |
MetroMidiEvent |
exec(double offset,
java.lang.Runnable runnable) |
int |
getCursorOffset() |
int |
getOneBarLengthInFrames() |
<T> java.util.Collection<T> |
getResultList() |
MetroMidiEvent |
length(double length) |
MetroMidiEvent |
receive(java.lang.String id,
double offset,
MetroPort outputPort,
byte[] data) |
void |
setCursorOffset(int cursorOffset) |
void |
setOneBarLengthInFrames(int oneBarLengthInFrames) |
<T> void |
setResultList(java.util.Collection<T> resultList) |
cc_allNoteOff, cc_allSoundOff, cc_balance, cc_bankSelect, cc_breathController, cc_dataDecrement, cc_dataEntryMsb, cc_dataIncrement, cc_effect1, cc_effect2, cc_effect3, cc_effect4, cc_effect5, cc_effectController1, cc_effectController2, cc_expression, cc_footController, cc_generalPurpose01, cc_generalPurpose02, cc_generalPurpose03, cc_generalPurpose04, cc_hold2, cc_legatoSwitch, cc_localControls, cc_modulation, cc_monoModeOn, cc_nrpnLsb, cc_nrpnMsb, cc_omniModeOff, cc_omniModeOn, cc_pan, cc_pedalSwitch, cc_polyModeOn, cc_portamento, cc_portamentoSwitch, cc_portamentoTime, cc_resetAllControllers, cc_rpnLsb, cc_rpnMsb, cc_sostenutoSwitch, cc_soundController1, cc_soundController10, cc_soundController2, cc_soundController3, cc_soundController4, cc_soundController5, cc_soundController6, cc_soundController7, cc_soundController8, cc_soundController9, cc_sustainPedal, cc_volume, channelPressure, channelPressure, clock, cont, controlChange, end, endCalled, endOfExclusive, error, keyPressure, keyPressure, noteOff, noteOff, noteOn, noteOn, pitchBend, pitchBend, programChange, reset, songPositionPointer, songSelect, start, stop
public SimpleMetroEventBuffer(int oneBarLengthInFrames)
public SimpleMetroEventBuffer()
public int getCursorOffset()
public void setCursorOffset(int cursorOffset)
public int getOneBarLengthInFrames()
public void setOneBarLengthInFrames(int oneBarLengthInFrames)
public <T> java.util.Collection<T> getResultList()
public <T> void setResultList(java.util.Collection<T> resultList)
public final MetroMidiEvent receive(java.lang.String id, double offset, MetroPort outputPort, byte[] data)
receive
in class MetroBufferedToNonBufferedMidiReceiver<MetroMidiEvent,byte[]>
public MetroMidiEvent exec(double offset, java.lang.Runnable runnable)
exec
in interface MetroBufferedMidiReceiver<MetroMidiEvent>
exec
in class MetroBufferedToNonBufferedMidiReceiver<MetroMidiEvent,byte[]>
public MetroMidiEvent event(double offset, MetroMidiEvent event)
event
in interface MetroBufferedMidiReceiver<MetroMidiEvent>
event
in class MetroBufferedToNonBufferedMidiReceiver<MetroMidiEvent,byte[]>
public MetroMidiEvent length(double length)
length
in interface MetroBufferedMidiReceiver<MetroMidiEvent>
length
in class MetroBufferedToNonBufferedMidiReceiver<MetroMidiEvent,byte[]>